Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006204/0.006204, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8359/0.8359, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.472e-05, allocations: 2.281 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.009438/0.009452, allocations: 11.95 MB / 331.7 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007543/0.017, allocations: 4.209 MB / 335.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.01934, allocations: 95.44 kB / 336 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.02191, allocations: 0.9936 MB / 337 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.02659, allocations: 1.392 MB / 338.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.02821, allocations: 0.8719 MB / 339.2 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.03163, allocations: 4.264 MB / 343.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.03347, allocations: 1.73 MB / 345.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.03572, allocations: 2.85 MB / 348.1 MB, free: 9.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.03713, allocations: 1.75 MB / 349.8 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.0375, allocations: 0.5117 MB / 350.3 MB, free: 7.016 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.03856, allocations: 0.695 MB / 351 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005819/0.03914, allocations: 1.145 MB / 352.2 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009399/0.04008, allocations: 1.442 MB / 353.6 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004431/0.04452, allocations: 6.778 MB / 360.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.04452, allocations: 0 / 360.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.04452, allocations: 0 / 360.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.01e-05/0.04457, allocations: 0 / 360.4 MB, free: 12.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.005463/0.05003, allocations: 4.373 MB / 364.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.05007, allocations: 16.92 kB / 364.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.05238, allocations: 0.8378 MB / 365.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.05486, allocations: 2.36 MB / 368 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.05498, allocations: 242.8 kB / 368.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.0553, allocations: 324.3 kB / 368.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004741/0.06004, allocations: 4.414 MB / 372.9 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.572e-05/0.06009, allocations: 15.83 kB / 373 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/0.0603, allocations: 136 kB / 373.1 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.06041, allocations: 150.4 kB / 373.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003804/0.06421, allocations: 3.597 MB / 376.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/0.07593, allocations: 11.8 MB / 388.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.07874, allocations: 2.556 MB / 391.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.08004, allocations: 1.273 MB / 392.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003346/0.08339, allocations: 3.011 MB / 395.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.08341, allocations: 51.88 kB / 395.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 2.364e-06/0.08342, allocations: 0 / 395.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.006229/0.08965, allocations: 5.195 MB / 400.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.08968, allocations: 68.72 kB / 400.8 MB, free: 4.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.09118, allocations: 1.587 MB / 402.4 MB, free: 2.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.09124, allocations: 49.7 kB / 402.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/0.09186, allocations: 1.5 MB / 403.9 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.09208, allocations: 495.8 kB / 404.4 MB, free: 360 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.09237, allocations: 315.4 kB / 404.7 MB, free: 40 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.09244, allocations: 305.1 kB / 405 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006777/0.09312, allocations: 0.6832 MB / 405.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008956/0.09401, allocations: 1.226 MB / 406.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.09578, allocations: 1.995 MB / 408.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.09579, allocations: 4 kB / 408.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002323/0.09811, allocations: 2.453 MB / 411.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.09813, allocations: 20 kB / 411.4 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.09815, allocations: 16 kB / 411.4 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.09869, allocations: 360 kB / 411.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/0.09938, allocations: 379.4 kB / 412.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004487/0.1039, allocations: 7.815 MB / 419.9 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.1044, allocations: 83.97 kB / 420 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.1045, allocations: 72 kB / 420.1 MB, free: 15.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001079/0.1055, allocations: 1.009 MB / 421.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.1057, allocations: 182.8 kB / 421.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.108, allocations: 2.11 MB / 423.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.108, allocations: 12 kB / 423.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.108, allocations: 12 kB / 423.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.108, allocations: 7.969 kB / 423.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.1121, allocations: 4.177 MB / 427.6 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.1122, allocations: 0 / 427.6 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.1125, allocations: 175.9 kB / 427.8 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000749/0.1133, allocations: 0.5471 MB / 428.3 MB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.1134, allocations: 43.92 kB / 428.4 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007083/0.1204, allocations: 12.32 MB / 440.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1204, allocations: 3.938 kB / 440.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.1233, allocations: 3.04 MB / 443.7 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/0.1239, allocations: 330.7 kB / 444 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.124, allocations: 31.98 kB / 444.1 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.1244, allocations: 59.95 kB / 444.1 MB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.1246, allocations: 117.1 kB / 444.3 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.1247, allocations: 36 kB / 444.3 MB, free: 6.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000969/0.1256, allocations: 1.074 MB / 445.4 MB, free: 5.688 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1256, allocations: 0 / 445.4 MB, free: 5.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001383/0.127, allocations: 0.5703 MB / 445.9 MB, free: 5.117 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/0.1273, allocations: 173.2 kB / 446.1 MB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.1294, allocations: 2.207 MB / 448.3 MB, free: 2.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1294, allocations: 5.875 kB / 448.3 MB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.1307, allocations: 1.69 MB / 450 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.1318, allocations: 448.2 kB / 450.4 MB, free: 484 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1352/0.267, allocations: 5.636 MB / 456.1 MB, free: 118 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.2681, allocations: 1.699 MB / 457.8 MB, free: 117.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.2685, allocations: 132 kB / 457.9 MB, free: 117.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.923e-06/0.2685, allocations: 0 / 457.9 MB, free: 117.7 MB / 410.7 MB Notification: Performance of Templates: time 0.06324/0.3317, allocations: 128.4 MB / 0.5726 GB, free: 8.754 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.800624696537852]