Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002678/0.002683, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.722/3.722, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 94.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005879/0.0005881, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1496, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.03752/0.1872, allocations: 13.36 MB / 387.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.4352/0.6225, allocations: 5.214 MB / 393.1 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005935/0.6286, allocations: 86.06 kB / 393.2 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00729/0.636, allocations: 0.9407 MB / 394.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.6479, allocations: 1.432 MB / 395.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006437/0.6544, allocations: 0.7164 MB / 396.3 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01552/0.67, allocations: 3.391 MB / 399.7 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.6823, allocations: 2.696 MB / 402.4 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007467/0.6899, allocations: 1.54 MB / 403.9 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008736/0.6987, allocations: 1.874 MB / 405.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002935/0.7017, allocations: 250.2 kB / 406 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005917/0.7077, allocations: 439.6 kB / 406.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00401/0.7118, allocations: 0.9408 MB / 407.4 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00489/0.7168, allocations: 0.9055 MB / 408.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01702/0.7339, allocations: 6.533 MB / 414.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.734, allocations: 0 / 414.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.489e-06/0.734, allocations: 1.375 kB / 414.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003792/0.7344, allocations: 0 / 414.8 MB, free: 2.645 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.02907/0.7635, allocations: 4.593 MB / 419.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.097e-05/0.7636, allocations: 12.41 kB / 419.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02292/0.7865, allocations: 1.008 MB / 420.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03277/0.8194, allocations: 2.645 MB / 423.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009031/0.8204, allocations: 308.1 kB / 423.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006826/0.8272, allocations: 399.9 kB / 423.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05365/0.8809, allocations: 5.162 MB / 429 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002929/0.8813, allocations: 10.3 kB / 429 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00434/0.8857, allocations: 164 kB / 429.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004519/0.8862, allocations: 179.9 kB / 429.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02443/0.9107, allocations: 4.443 MB / 433.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07746/0.9882, allocations: 16.9 MB / 450.6 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.009, allocations: 8.423 MB / 459.1 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/1.03, allocations: 4.25 MB / 463.3 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.913e-05/1.03, allocations: 56.56 kB / 463.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 7.745e-06/1.03, allocations: 0 / 463.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=171): time 0.03772/1.068, allocations: 6.567 MB / 469.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/1.068, allocations: 69.41 kB / 470 MB, free: 11.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009827/1.078, allocations: 2.262 MB / 472.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005909/1.078, allocations: 53.7 kB / 472.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003038/1.081, allocations: 1.725 MB / 474.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.083, allocations: 0.5853 MB / 474.6 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003372/1.083, allocations: 44 kB / 474.7 MB, free: 7.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004264/1.084, allocations: 399.2 kB / 475.1 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004713/1.089, allocations: 0.8866 MB / 476 MB, free: 5.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006137/1.095, allocations: 1.578 MB / 477.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/1.101, allocations: 1.169 MB / 478.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.284e-05/1.101, allocations: 4 kB / 478.7 MB, free: 2.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01504/1.116, allocations: 2.815 MB / 481.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/1.116, allocations: 16 kB / 481.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-05/1.116, allocations: 20.53 kB / 481.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/1.117, allocations: 133.7 kB / 481.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006789/1.124, allocations: 0.5655 MB / 482.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/1.128, allocations: 1.822 MB / 484.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004858/1.133, allocations: 131.9 kB / 484.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008205/1.134, allocations: 92 kB / 484.3 MB, free: 12.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006108/1.14, allocations: 1.202 MB / 485.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.141, allocations: 245 kB / 485.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/1.155, allocations: 2.601 MB / 488.3 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-05/1.155, allocations: 19.94 kB / 488.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.538e-05/1.155, allocations: 7.953 kB / 488.4 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/1.155, allocations: 7.969 kB / 488.4 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03105/1.186, allocations: 6.085 MB / 494.5 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-05/1.186, allocations: 4 kB / 494.5 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004331/1.191, allocations: 319.7 kB / 494.8 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/1.193, allocations: 320.2 kB / 495.1 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004943/1.194, allocations: 39.98 kB / 495.1 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/1.211, allocations: 6.451 MB / 0.4898 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/1.211, allocations: 0 / 0.4898 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.23, allocations: 3.939 MB / 0.4937 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003182/1.233, allocations: 0.5081 MB / 0.4942 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001645/1.234, allocations: 40.08 kB / 0.4942 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004301/1.239, allocations: 103.9 kB / 0.4943 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/1.24, allocations: 129.1 kB / 0.4944 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004101/1.24, allocations: 48 kB / 0.4945 GB, free: 6.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007381/1.248, allocations: 1.529 MB / 0.496 GB, free: 4.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.452e-06/1.248, allocations: 0 / 0.496 GB, free: 4.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007357/1.255, allocations: 0.6835 MB / 0.4966 GB, free: 3.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/1.256, allocations: 175.3 kB / 0.4968 GB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01133/1.268, allocations: 2.36 MB / 0.4991 GB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.836e-05/1.268, allocations: 7.938 kB / 0.4991 GB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007148/1.275, allocations: 1.527 MB / 0.5006 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007073/1.282, allocations: 0.5592 MB / 0.5011 GB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03457/1.317, allocations: 8.394 MB / 0.5093 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008268/1.325, allocations: 2.67 MB / 0.512 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.327, allocations: 189.8 kB / 0.5121 GB, free: 3.809 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/1.327, allocations: 0 / 0.5121 GB, free: 3.809 MB / 394.7 MB Notification: Performance of Templates: time 0.6862/2.014, allocations: 90.32 MB / 0.6003 GB, free: 71.96 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches