Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.0009581/0.0009581, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001034/0.001034, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9337/0.9337, allocations: 177.1 MB / 206 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/1.987e-05, allocations: 2.312 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.00788/0.0079, allocations: 9.429 MB / 283.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004027/0.01193, allocations: 3.031 MB / 286.7 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.01252, allocations: 63.56 kB / 286.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.01359, allocations: 0.6169 MB / 287.4 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.01489, allocations: 0.8186 MB / 288.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.01536, allocations: 407.2 kB / 288.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.01698, allocations: 2.521 MB / 291.1 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009197/0.0179, allocations: 1.009 MB / 292.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.01962, allocations: 1.774 MB / 293.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009673/0.02059, allocations: 1.161 MB / 295 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.02082, allocations: 272 kB / 295.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.02121, allocations: 367.8 kB / 295.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.02165, allocations: 0.7751 MB / 296.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006104/0.02226, allocations: 0.8731 MB / 297.3 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.02371, allocations: 1.997 MB / 299.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.02371, allocations: 4 kB / 299.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02371, allocations: 0 / 299.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.02373, allocations: 0 / 299.3 MB, free: 11.17 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.002597/0.02633, allocations: 2.619 MB / 301.9 MB, free: 8.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.02636, allocations: 16.02 kB / 301.9 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005619/0.02692, allocations: 443.2 kB / 302.4 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.02803, allocations: 1.215 MB / 303.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/0.02811, allocations: 140.2 kB / 303.7 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.02829, allocations: 192.4 kB / 303.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.0297, allocations: 1.429 MB / 305.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/0.02975, allocations: 11.94 kB / 305.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.02985, allocations: 76 kB / 305.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-05/0.02992, allocations: 91.67 kB / 305.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.03069, allocations: 0.5587 MB / 306.1 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/0.03661, allocations: 6.46 MB / 312.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.03721, allocations: 0.5656 MB / 313.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.03788, allocations: 0.5246 MB / 313.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.03799, allocations: 40.98 kB / 313.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.03802, allocations: 58.25 kB / 313.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 1.923e-06/0.03802, allocations: 4 kB / 313.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.004198/0.04222, allocations: 2.569 MB / 316.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.04225, allocations: 68.39 kB / 316.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/0.04297, allocations: 1.037 MB / 317.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.04303, allocations: 49.7 kB / 317.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.04349, allocations: 1.026 MB / 318.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.0437, allocations: 416.5 kB / 318.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.04394, allocations: 261 kB / 319.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.04409, allocations: 0.5509 MB / 319.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.0443, allocations: 167.9 kB / 319.9 MB, free: 6.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.04472, allocations: 0.6751 MB / 320.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007438/0.04547, allocations: 0.9646 MB / 321.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.04547, allocations: 4 kB / 321.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001646/0.04712, allocations: 1.194 MB / 322.7 MB, free: 2.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.04714, allocations: 8 kB / 322.7 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.04715, allocations: 12 kB / 322.7 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.04772, allocations: 301.1 kB / 323 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.04824, allocations: 271.5 kB / 323.3 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.05168, allocations: 6.531 MB / 329.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.05206, allocations: 43.94 kB / 329.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.05211, allocations: 55.97 kB / 329.9 MB, free: 11.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002858/0.0524, allocations: 240.1 kB / 330.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.05257, allocations: 175.1 kB / 330.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.05371, allocations: 0.974 MB / 331.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.05371, allocations: 16 kB / 331.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.05372, allocations: 4 kB / 331.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.05373, allocations: 3.984 kB / 331.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.05617, allocations: 2.273 MB / 333.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.05618, allocations: 4.281 kB / 333.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.05655, allocations: 163.8 kB / 333.7 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006329/0.05718, allocations: 329.9 kB / 334.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.05723, allocations: 27.98 kB / 334.1 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003926/0.06116, allocations: 8.271 MB / 342.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.06116, allocations: 7.938 kB / 342.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.06287, allocations: 1.396 MB / 343.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.06315, allocations: 227 kB / 344 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.06326, allocations: 31.98 kB / 344 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.06357, allocations: 35.98 kB / 344 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.0637, allocations: 92.7 kB / 344.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.06374, allocations: 27.98 kB / 344.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004029/0.06415, allocations: 0.5796 MB / 344.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06415, allocations: 0 / 344.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009202/0.06507, allocations: 428 kB / 345.2 MB, free: 11.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002501/0.06532, allocations: 190.9 kB / 345.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.06656, allocations: 1.369 MB / 346.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.06656, allocations: 3.938 kB / 346.7 MB, free: 9.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008752/0.06743, allocations: 1.182 MB / 347.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009161/0.06835, allocations: 366.6 kB / 348.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.07218, allocations: 3.462 MB / 351.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.07252, allocations: 496 kB / 352.2 MB, free: 3.965 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.0729, allocations: 175.9 kB / 352.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.07344, allocations: 414 kB / 352.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of SimCode: time 9.41e-07/0.07344, allocations: 0 / 352.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of Templates: time 0.1244/0.1979, allocations: 24.17 MB / 377 MB, free: 68.38 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.45068437512964]