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.001987/0.001987, 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.002306/0.002306, 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.481/1.481, allocations: 173.4 MB / 200.8 MB, free: 9.309 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.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 1.513e-06/1.513e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.603e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01252/0.01255, allocations: 8.609 MB / 276 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.01853, allocations: 2.855 MB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000819/0.01935, allocations: 59.62 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.02089, allocations: 0.6208 MB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.02296, allocations: 0.8264 MB / 280.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000845/0.02381, allocations: 371.4 kB / 280.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.02711, allocations: 2.524 MB / 283.2 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.02874, allocations: 1.005 MB / 284.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.03124, allocations: 1.598 MB / 285.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.03306, allocations: 1.118 MB / 286.9 MB, free: 3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.03348, allocations: 280 kB / 287.2 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007014/0.03418, allocations: 367.8 kB / 287.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009128/0.03509, allocations: 0.8023 MB / 288.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.03639, allocations: 0.8731 MB / 289.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1293/0.1657, allocations: 3.687 MB / 292.9 MB, free: 20.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1657, allocations: 0 / 292.9 MB, free: 20.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1657, allocations: 0 / 292.9 MB, free: 20.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001439/0.1658, allocations: 2.062 kB / 292.9 MB, free: 20.36 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007865/0.1737, allocations: 2.549 MB / 295.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1737, allocations: 11.27 kB / 295.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.1753, allocations: 435.1 kB / 295.9 MB, free: 19.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/0.1782, allocations: 1.337 MB / 297.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.1784, allocations: 139 kB / 297.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.1787, allocations: 199.3 kB / 297.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.1827, allocations: 2.517 MB / 300.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-05/0.1828, allocations: 13.91 kB / 300.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.183, allocations: 77.16 kB / 300.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.1831, allocations: 94.34 kB / 300.3 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.1862, allocations: 1.955 MB / 302.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009707/0.1959, allocations: 6.881 MB / 309.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.1972, allocations: 1.001 MB / 310.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.1987, allocations: 0.9089 MB / 311 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.1989, allocations: 54.05 kB / 311.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1989, allocations: 46.09 kB / 311.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.785e-06/0.1989, allocations: 0 / 311.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.01103/0.21, allocations: 5.537 MB / 316.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.21, allocations: 64.41 kB / 316.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.2114, allocations: 1.162 MB / 317.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.2115, allocations: 48.11 kB / 317.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.2118, allocations: 0.9493 MB / 318.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.212, allocations: 406.4 kB / 319.3 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.2124, allocations: 247.5 kB / 319.5 MB, free: 4.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.2124, allocations: 361.9 kB / 319.9 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.2132, allocations: 0.6364 MB / 320.5 MB, free: 3.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008759/0.2141, allocations: 1 MB / 321.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.2158, allocations: 1.734 MB / 323.2 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.2158, allocations: 4 kB / 323.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004074/0.2199, allocations: 2.291 MB / 325.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.2199, allocations: 8 kB / 325.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.2199, allocations: 12 kB / 325.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.2214, allocations: 0.5251 MB / 326.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.2226, allocations: 301.9 kB / 326.4 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008807/0.2314, allocations: 6.734 MB / 333.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.2329, allocations: 90.28 kB / 333.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.233, allocations: 56.05 kB / 333.2 MB, free: 6.633 MB / 282.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.001294/0.2343, allocations: 0.6011 MB / 333.8 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.2347, allocations: 175.1 kB / 334 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.2388, allocations: 1.946 MB / 336 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.2388, allocations: 12 kB / 336 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.2389, allocations: 8 kB / 336 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.2389, allocations: 3.984 kB / 336 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008247/0.2471, allocations: 3.637 MB / 339.6 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.2471, allocations: 4 kB / 339.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/0.248, allocations: 195.1 kB / 339.8 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.2499, allocations: 0.5626 MB / 340.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.25, allocations: 31.98 kB / 340.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.2605, allocations: 8.22 MB / 348.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.2605, allocations: 4 kB / 348.6 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.2665, allocations: 2.862 MB / 351.5 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.2677, allocations: 267 kB / 351.8 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005593/0.2682, allocations: 34.17 kB / 351.8 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.2695, allocations: 71.67 kB / 351.9 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/0.2699, allocations: 88.83 kB / 351.9 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.27, allocations: 35.92 kB / 352 MB, free: 3.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002006/0.272, allocations: 0.7789 MB / 352.8 MB, free: 2.695 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.272, allocations: 0 / 352.8 MB, free: 2.695 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002991/0.275, allocations: 439.9 kB / 353.2 MB, free: 2.266 MB / 298.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%), (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.000975/0.276, allocations: 192.5 kB / 353.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004944/0.2809, allocations: 2.003 MB / 355.4 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.2809, allocations: 0 / 355.4 MB, free: 64 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/0.2839, allocations: 1.384 MB / 356.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.287, allocations: 368.6 kB / 357.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.2975, allocations: 4.017 MB / 361.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/0.2998, allocations: 1.076 MB / 362.2 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001425/0.3013, allocations: 303.8 kB / 362.5 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.3018, allocations: 88.48 kB / 362.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of SimCode: time 1.983e-06/0.3018, allocations: 0 / 362.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of Templates: time 0.0466/0.3484, allocations: 22.76 MB / 385.4 MB, free: 2.367 MB / 330.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.445650053094141]