Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 118.2 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 218.3 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1224, allocations: 53.37 MB / 427.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2751/0.3976, allocations: 21.64 MB / 448.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02078/0.4183, allocations: 6.816 MB / 455.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006722/0.4251, allocations: 175.8 kB / 455.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01795/0.443, allocations: 6.9 MB / 462.6 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.455, allocations: 2.797 MB / 465.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005658/0.4607, allocations: 1.571 MB / 467 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01705/0.4777, allocations: 9.074 MB / 476.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02731/0.505, allocations: 13.06 MB / 489.1 MB, free: 2.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/0.5163, allocations: 4.715 MB / 493.8 MB, free: 13.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0105/0.5268, allocations: 5.229 MB / 499.1 MB, free: 8.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004249/0.5311, allocations: 1.355 MB / 0.4887 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006707/0.5378, allocations: 1.683 MB / 0.4903 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005138/0.5429, allocations: 2.623 MB / 0.4929 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01096/0.5539, allocations: 4.969 MB / 0.4978 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02599/0.5799, allocations: 18.25 MB / 0.5156 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5799, allocations: 0 / 0.5156 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5799, allocations: 0 / 0.5156 GB, free: 11.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005114/0.5804, allocations: 4 kB / 0.5156 GB, free: 11.66 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03732/0.6177, allocations: 10.74 MB / 0.5261 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.6178, allocations: 8.031 kB / 0.5261 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002948/0.6181, allocations: 207.5 kB / 0.5263 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005851/0.6239, allocations: 1.09 MB / 0.5273 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0567/0.6806, allocations: 5.895 MB / 0.5331 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02068/0.7013, allocations: 5.746 MB / 0.5387 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/0.7024, allocations: 0.5579 MB / 0.5392 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00477/0.7072, allocations: 0.7342 MB / 0.54 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05154/0.7587, allocations: 12.89 MB / 0.5526 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005204/0.7593, allocations: 15.94 kB / 0.5526 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004766/0.764, allocations: 312 kB / 0.5529 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001095/0.7651, allocations: 493.2 kB / 0.5533 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0335/0.7986, allocations: 12.63 MB / 0.5657 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09253/0.8912, allocations: 41.53 MB / 0.6062 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2759/1.167, allocations: 25.88 MB / 0.6315 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005747/1.173, allocations: 2.914 MB / 0.6343 GB, free: 137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/1.173, allocations: 271.2 kB / 0.6346 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.203e-05/1.173, allocations: 78.61 kB / 0.6347 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=410): time 6.402e-06/1.173, allocations: 0 / 0.6347 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=415): time 0.04183/1.215, allocations: 17.09 MB / 0.6514 GB, free: 131.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/1.215, allocations: 95.78 kB / 0.6515 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/1.22, allocations: 2.84 MB / 0.6542 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005102/1.22, allocations: 91.92 kB / 0.6543 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001827/1.222, allocations: 3.147 MB / 0.6574 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.223, allocations: 1.465 MB / 0.6588 GB, free: 127 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/1.225, allocations: 0.9512 MB / 0.6597 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/1.225, allocations: 308.1 kB / 0.66 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/1.228, allocations: 2.516 MB / 0.6625 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/1.232, allocations: 4.114 MB / 0.6665 GB, free: 122.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007774/1.24, allocations: 7.203 MB / 0.6736 GB, free: 117.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-05/1.24, allocations: 15.5 kB / 0.6736 GB, free: 117.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01193/1.252, allocations: 8.036 MB / 0.6814 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/1.252, allocations: 23.34 kB / 0.6814 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.284e-05/1.252, allocations: 50.19 kB / 0.6815 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003181/1.255, allocations: 1.226 MB / 0.6827 GB, free: 114.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003995/1.259, allocations: 1.138 MB / 0.6838 GB, free: 114.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/1.272, allocations: 11.25 MB / 0.6948 GB, free: 102.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/1.276, allocations: 259.7 kB / 0.695 GB, free: 102.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004841/1.276, allocations: 236 kB / 0.6952 GB, free: 102.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005037/1.281, allocations: 2.956 MB / 0.6981 GB, free: 99.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009201/1.282, allocations: 369.6 kB / 0.6985 GB, free: 99.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009782/1.292, allocations: 6.668 MB / 0.705 GB, free: 92.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/1.292, allocations: 45.59 kB / 0.705 GB, free: 92.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.292, allocations: 11.94 kB / 0.7051 GB, free: 92.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-05/1.292, allocations: 24.78 kB / 0.7051 GB, free: 92.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/1.312, allocations: 14.87 MB / 0.7196 GB, free: 77.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.312, allocations: 7.391 kB / 0.7196 GB, free: 77.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.315, allocations: 0.745 MB / 0.7203 GB, free: 76.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/1.318, allocations: 1.138 MB / 0.7214 GB, free: 75.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000336/1.318, allocations: 95.97 kB / 0.7215 GB, free: 75.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.329, allocations: 10.16 MB / 0.7315 GB, free: 64.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.329, allocations: 7.938 kB / 0.7315 GB, free: 64.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.341, allocations: 10.02 MB / 0.7412 GB, free: 54.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/1.343, allocations: 0.9436 MB / 0.7422 GB, free: 53.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006329/1.344, allocations: 87.88 kB / 0.7423 GB, free: 53.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.346, allocations: 203.9 kB / 0.7424 GB, free: 53.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/1.346, allocations: 303.3 kB / 0.7427 GB, free: 53.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.347, allocations: 128 kB / 0.7429 GB, free: 53.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002286/1.349, allocations: 1.959 MB / 0.7448 GB, free: 51.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/1.349, allocations: 0 / 0.7448 GB, free: 51.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005028/1.354, allocations: 1.387 MB / 0.7461 GB, free: 49.77 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01238/1.366, allocations: 10.74 MB / 0.7566 GB, free: 38.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009272/1.375, allocations: 6.484 MB / 0.7629 GB, free: 32.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.375, allocations: 0 / 0.7629 GB, free: 32.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005389/1.381, allocations: 3.323 MB / 0.7662 GB, free: 29.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.385, allocations: 0.8376 MB / 0.767 GB, free: 28.26 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0758/1.461, allocations: 47.11 MB / 0.813 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007015/1.468, allocations: 5.077 MB / 0.818 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004533/1.472, allocations: 1.618 MB / 0.8196 GB, free: 4.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004773/1.477, allocations: 2.682 MB / 0.8222 GB, free: 1.73 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/1.477, allocations: 0 / 0.8222 GB, free: 1.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3706/1.848, allocations: 111.8 MB / 0.9313 GB, free: 96.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/19.5, allocations: 4.062 kB / 0.9314 GB, free: 96.95 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 654] Reference file matches [Calling sys.exit(0), Time elapsed: 33.55276139697526]