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.001796/0.001796, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002062/0.002062, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.466/1.466, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] 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.342e-06/1.342e-06, allocations: 0 / 267.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.371e-05, allocations: 2.312 kB / 267.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.0172/0.01722, allocations: 11.98 MB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009201/0.02642, allocations: 4.201 MB / 283.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.02851, allocations: 95.44 kB / 283.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.03138, allocations: 0.9975 MB / 284.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.03572, allocations: 1.386 MB / 286 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.03788, allocations: 0.8708 MB / 286.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1105/0.1484, allocations: 4.267 MB / 291.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.1509, allocations: 1.729 MB / 292.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.1547, allocations: 2.851 MB / 295.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.1574, allocations: 1.75 MB / 297.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007619/0.1582, allocations: 0.5073 MB / 298 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.1596, allocations: 0.6957 MB / 298.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009049/0.1605, allocations: 1.142 MB / 299.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.1625, allocations: 1.449 MB / 301.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005198/0.1677, allocations: 6.786 MB / 308 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1677, allocations: 0 / 308 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1677, allocations: 3.344 kB / 308.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001043/0.1678, allocations: 3.219 kB / 308.1 MB, free: 11.31 MB / 266.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.008811/0.1766, allocations: 4.366 MB / 312.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1767, allocations: 12.27 kB / 312.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004367/0.181, allocations: 1.249 MB / 313.7 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003961/0.185, allocations: 2.477 MB / 316.2 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.1852, allocations: 238.8 kB / 316.4 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/0.1856, allocations: 330.5 kB / 316.7 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006018/0.1916, allocations: 4.422 MB / 321.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.057e-05/0.1917, allocations: 4 kB / 321.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.192, allocations: 135.5 kB / 321.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.1921, allocations: 150.4 kB / 321.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007072/0.1992, allocations: 3.593 MB / 325 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/0.2243, allocations: 12.03 MB / 337 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005688/0.23, allocations: 2.563 MB / 339.6 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/0.2326, allocations: 1.291 MB / 340.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006724/0.2393, allocations: 3.04 MB / 343.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.2394, allocations: 47.88 kB / 344 MB, free: 10.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 3.166e-06/0.2394, allocations: 0 / 344 MB, free: 10.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.01288/0.2522, allocations: 5.261 MB / 349.2 MB, free: 4.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.2523, allocations: 68.72 kB / 349.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.2549, allocations: 1.591 MB / 350.9 MB, free: 3.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.255, allocations: 45.7 kB / 351 MB, free: 3.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.2564, allocations: 1.489 MB / 352.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.2569, allocations: 497.1 kB / 352.9 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/0.2574, allocations: 319.4 kB / 353.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2576, allocations: 313.1 kB / 353.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.2589, allocations: 0.6754 MB / 354.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.2607, allocations: 1.221 MB / 355.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.2639, allocations: 2 MB / 357.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.2639, allocations: 4 kB / 357.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004805/0.2687, allocations: 2.523 MB / 360 MB, free: 9.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.2688, allocations: 12 kB / 360 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.2688, allocations: 16 kB / 360 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.2701, allocations: 422.8 kB / 360.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.2716, allocations: 374.2 kB / 360.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009393/0.281, allocations: 7.853 MB / 368.6 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.2826, allocations: 75.95 kB / 368.7 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.2827, allocations: 80.16 kB / 368.8 MB, free: 0.7695 MB / 314.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.00194/0.2847, allocations: 1.003 MB / 369.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004587/0.2851, allocations: 230.8 kB / 370 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.2895, allocations: 2.11 MB / 372.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.2896, allocations: 12 kB / 372.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.2896, allocations: 8 kB / 372.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.2896, allocations: 7.969 kB / 372.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/0.2979, allocations: 4.2 MB / 376.3 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2979, allocations: 0 / 376.3 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008634/0.2988, allocations: 172.9 kB / 376.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/0.3009, allocations: 0.6116 MB / 377.1 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.301, allocations: 39.98 kB / 377.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/0.3165, allocations: 12.39 MB / 389.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.3165, allocations: 7.594 kB / 389.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006102/0.3226, allocations: 3.084 MB / 392.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/0.3236, allocations: 338.7 kB / 393 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.3238, allocations: 35.98 kB / 393 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009445/0.3248, allocations: 59.95 kB / 393.1 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/0.3251, allocations: 120.8 kB / 393.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/0.3252, allocations: 35.98 kB / 393.2 MB, free: 7.785 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001774/0.327, allocations: 1.066 MB / 394.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.327, allocations: 0 / 394.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002402/0.3294, allocations: 0.5742 MB / 394.9 MB, free: 6.148 MB / 346.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.0003838/0.3298, allocations: 161.7 kB / 395 MB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004147/0.3339, allocations: 2.22 MB / 397.2 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3339, allocations: 0 / 397.2 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.3369, allocations: 1.684 MB / 398.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.3393, allocations: 462.6 kB / 399.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.3506, allocations: 5.774 MB / 405.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/0.353, allocations: 1.751 MB / 406.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001361/0.3543, allocations: 379.3 kB / 407.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.3546, allocations: 120.5 kB / 407.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3546, allocations: 0 / 407.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of Templates: time 0.1705/0.5252, allocations: 27.35 MB / 434.7 MB, free: 122.2 MB / 378.7 MB " [Timeout remaining time 659] 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: 5.838757187011652]