Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.001268/0.001268, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 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.001397/0.001397, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 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.442/1.442, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 47.91 kB / 358.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1175, allocations: 49.43 MB / 408.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01127/0.1288, allocations: 9.703 MB / 417.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.1347, allocations: 3.015 MB / 420.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.1359, allocations: 47.81 kB / 420.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.1378, allocations: 0.6288 MB / 421.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.1407, allocations: 0.7413 MB / 422.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.1416, allocations: 367.5 kB / 422.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.1445, allocations: 2.428 MB / 425 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.1465, allocations: 1.751 MB / 426.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.148, allocations: 1.075 MB / 427.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.1498, allocations: 1.308 MB / 429.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000417/0.1502, allocations: 279.9 kB / 429.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007422/0.151, allocations: 375.8 kB / 429.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007707/0.1518, allocations: 0.7713 MB / 430.6 MB, free: 260 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2162/0.3679, allocations: 1.267 MB / 431.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004207/0.3722, allocations: 3.647 MB / 435.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3722, allocations: 0 / 435.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3723, allocations: 0 / 435.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.504e-05/0.3724, allocations: 2.375 kB / 435.5 MB, free: 8.562 MB / 350.1 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.005347/0.3777, allocations: 2.64 MB / 438.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3778, allocations: 8.844 kB / 438.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007667/0.3785, allocations: 277.3 kB / 438.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.3808, allocations: 1.36 MB / 439.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.381, allocations: 140.1 kB / 439.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.3813, allocations: 196.7 kB / 440.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004118/0.3854, allocations: 2.421 MB / 442.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.3855, allocations: 8.203 kB / 442.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.3857, allocations: 81.03 kB / 442.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.3858, allocations: 90.19 kB / 442.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.389, allocations: 1.964 MB / 444.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/0.3998, allocations: 7.786 MB / 452.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.4014, allocations: 1.23 MB / 453.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.4031, allocations: 0.9695 MB / 454.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.4033, allocations: 115.8 kB / 454.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.4034, allocations: 44.03 kB / 454.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.725e-06/0.4034, allocations: 0 / 454.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01204/0.4154, allocations: 5.907 MB / 460.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4155, allocations: 63.66 kB / 460.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.4176, allocations: 1.295 MB / 462.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.4177, allocations: 47.2 kB / 462.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.4185, allocations: 0.9388 MB / 463.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.4189, allocations: 409.9 kB / 463.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/0.4193, allocations: 248.1 kB / 463.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.4195, allocations: 372.2 kB / 464.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009915/0.4205, allocations: 0.6362 MB / 464.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.4217, allocations: 0.9973 MB / 465.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.424, allocations: 1.732 MB / 467.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.424, allocations: 7.594 kB / 467.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003723/0.4277, allocations: 2.242 MB / 469.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4278, allocations: 17.06 kB / 469.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.4278, allocations: 12.53 kB / 469.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.4291, allocations: 492.6 kB / 470.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.4302, allocations: 302.6 kB / 470.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.4379, allocations: 7.139 MB / 477.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.4395, allocations: 87.91 kB / 477.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.4396, allocations: 52 kB / 477.8 MB, free: 1.707 MB / 366.1 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.001299/0.441, allocations: 0.6104 MB / 478.4 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/0.4413, allocations: 155 kB / 478.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.445, allocations: 1.972 MB / 480.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.445, allocations: 8 kB / 480.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.445, allocations: 4 kB / 480.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.4451, allocations: 7.984 kB / 480.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/0.4525, allocations: 4.123 MB / 484.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/0.4525, allocations: 4 kB / 484.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.4533, allocations: 181.2 kB / 484.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.4549, allocations: 0.542 MB / 485.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.18e-05/0.455, allocations: 34.23 kB / 485.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009221/0.4642, allocations: 8.756 MB / 494.2 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4642, allocations: 2.812 kB / 494.2 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/0.4692, allocations: 2.864 MB / 497 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008986/0.4701, allocations: 364 kB / 497.4 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.4704, allocations: 28 kB / 497.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/0.4712, allocations: 71.92 kB / 497.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/0.4714, allocations: 88.47 kB / 497.6 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.4715, allocations: 39.92 kB / 497.6 MB, free: 13.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.4729, allocations: 0.8839 MB / 498.5 MB, free: 12.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4729, allocations: 0 / 498.5 MB, free: 12.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001677/0.4746, allocations: 443.9 kB / 498.9 MB, free: 11.97 MB / 398.1 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003948/0.475, allocations: 189.6 kB / 499.1 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003697/0.4787, allocations: 2.233 MB / 0.4896 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4788, allocations: 0 / 0.4896 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.4811, allocations: 1.504 MB / 0.491 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.4833, allocations: 422.9 kB / 0.4915 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/0.4904, allocations: 4.209 MB / 0.4956 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.4919, allocations: 1.642 MB / 0.4972 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/0.4924, allocations: 107.4 kB / 0.4973 GB, free: 1.531 MB / 398.1 MB Notification: Performance of SimCode: time 1.704e-06/0.4925, allocations: 2.812 kB / 0.4973 GB, free: 1.531 MB / 398.1 MB Notification: Performance of Templates: time 0.08157/0.574, allocations: 70.86 MB / 0.5665 GB, free: 10.7 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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: 12.76585324399639]