Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 85.98 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002621/0.002621, allocations: 164.9 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 177.2 MB / 204.3 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.112e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01644/0.01647, allocations: 12.51 MB / 337.6 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.0269, allocations: 4.458 MB / 342.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.02961, allocations: 103.4 kB / 342.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.033, allocations: 1.013 MB / 343.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.03765, allocations: 1.37 MB / 344.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.04017, allocations: 0.929 MB / 345.5 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005958/0.04612, allocations: 4.33 MB / 349.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00305/0.04917, allocations: 1.738 MB / 351.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.05377, allocations: 2.858 MB / 354.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.05706, allocations: 1.761 MB / 356.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009935/0.05806, allocations: 0.5078 MB / 356.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.05989, allocations: 0.7183 MB / 357.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.06124, allocations: 1.149 MB / 358.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002412/0.06365, allocations: 1.45 MB / 360 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007825/0.07148, allocations: 6.821 MB / 366.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.07148, allocations: 4 kB / 366.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07149, allocations: 0 / 366.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.237e-05/0.07158, allocations: 0 / 366.8 MB, free: 11.23 MB / 334.1 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.01075/0.08233, allocations: 4.396 MB / 371.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.08237, allocations: 12.03 kB / 371.2 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.0869, allocations: 0.83 MB / 372 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/0.09156, allocations: 2.384 MB / 374.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.09178, allocations: 242.8 kB / 374.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005476/0.09233, allocations: 324.3 kB / 375 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007837/0.1002, allocations: 4.429 MB / 379.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.244e-05/0.1002, allocations: 3.953 kB / 379.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.1006, allocations: 132 kB / 379.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.1008, allocations: 150.4 kB / 379.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006452/0.1072, allocations: 3.594 MB / 383.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02029/0.1275, allocations: 11.84 MB / 395.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005394/0.1329, allocations: 2.594 MB / 397.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.1353, allocations: 1.285 MB / 399 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005949/0.1412, allocations: 3.062 MB / 402.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.1413, allocations: 47.88 kB / 402.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=134): time 3.346e-06/0.1413, allocations: 0 / 402.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01167/0.153, allocations: 5.214 MB / 407.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.153, allocations: 68.72 kB / 407.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.1554, allocations: 1.616 MB / 409 MB, free: 480 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.1555, allocations: 49.7 kB / 409.1 MB, free: 424 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.1566, allocations: 1.496 MB / 410.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.1571, allocations: 499.7 kB / 411 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005052/0.1576, allocations: 315.5 kB / 411.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1577, allocations: 309.1 kB / 411.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.1589, allocations: 0.6754 MB / 412.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.1605, allocations: 1.23 MB / 413.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.1635, allocations: 1.999 MB / 415.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.1635, allocations: 4 kB / 415.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004396/0.1679, allocations: 2.465 MB / 418 MB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.1679, allocations: 12 kB / 418 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.168, allocations: 16 kB / 418.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.169, allocations: 360 kB / 418.4 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.1704, allocations: 379.4 kB / 418.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008287/0.1787, allocations: 7.815 MB / 426.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.18, allocations: 71.92 kB / 426.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.1801, allocations: 79.98 kB / 426.7 MB, free: 13.82 MB / 398.1 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.001804/0.1819, allocations: 1.009 MB / 427.7 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.1823, allocations: 186.8 kB / 427.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.1864, allocations: 2.11 MB / 430 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.1864, allocations: 12 kB / 430.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.1864, allocations: 11.98 kB / 430.1 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.1864, allocations: 7.984 kB / 430.1 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007441/0.1939, allocations: 4.197 MB / 434.3 MB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.1939, allocations: 7.938 kB / 434.3 MB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008301/0.1947, allocations: 175.8 kB / 434.4 MB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.1962, allocations: 0.5321 MB / 435 MB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.733e-05/0.1963, allocations: 39.98 kB / 435 MB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.2097, allocations: 12.35 MB / 447.4 MB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2097, allocations: 0 / 447.4 MB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/0.2151, allocations: 3.04 MB / 450.4 MB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008285/0.2159, allocations: 342.6 kB / 450.7 MB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.2162, allocations: 35.98 kB / 450.8 MB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008654/0.217, allocations: 63.95 kB / 450.8 MB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.2173, allocations: 117.1 kB / 451 MB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/0.2174, allocations: 39.98 kB / 451 MB, free: 4.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00173/0.2191, allocations: 1.075 MB / 452.1 MB, free: 3.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2191, allocations: 3.938 kB / 452.1 MB, free: 3.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002114/0.2212, allocations: 0.5781 MB / 452.7 MB, free: 3.105 MB / 414.1 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.0003624/0.2216, allocations: 171.4 kB / 452.8 MB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003782/0.2254, allocations: 2.209 MB / 455 MB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2254, allocations: 128 / 455 MB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002659/0.2281, allocations: 1.686 MB / 456.7 MB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.2303, allocations: 456.5 kB / 457.2 MB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.2407, allocations: 5.656 MB / 462.8 MB, free: 8.746 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.243, allocations: 1.756 MB / 464.6 MB, free: 6.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001343/0.2443, allocations: 379.5 kB / 464.9 MB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.2447, allocations: 128.5 kB / 465.1 MB, free: 6.457 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2447, allocations: 0 / 465.1 MB, free: 6.457 MB / 430.1 MB Notification: Performance of Templates: time 0.1977/0.4424, allocations: 27.72 MB / 492.8 MB, free: 116.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.650052174925804]