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.0009695/0.0009695, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001141/0.001141, allocations: 165.8 kB / 24.82 MB, free: 9.273 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.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.673e-06/1.673e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.867e-05, allocations: 2.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01027/0.01029, allocations: 9.444 MB / 282.9 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.017, allocations: 3.022 MB / 285.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.01839, allocations: 67.56 kB / 285.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.02004, allocations: 0.6131 MB / 286.6 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.02218, allocations: 0.8263 MB / 287.4 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.02299, allocations: 399.2 kB / 287.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.02546, allocations: 2.521 MB / 290.3 MB, free: 304 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1081/0.1335, allocations: 1.005 MB / 291.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.1359, allocations: 1.783 MB / 293.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.1374, allocations: 1.153 MB / 294.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006329/0.1381, allocations: 270.8 kB / 294.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.1387, allocations: 372.1 kB / 294.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005602/0.1393, allocations: 0.7761 MB / 295.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.1406, allocations: 0.8678 MB / 296.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.1428, allocations: 2.002 MB / 298.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1428, allocations: 2.969 kB / 298.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1428, allocations: 0.8906 kB / 298.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.437e-05/0.1428, allocations: 0 / 298.5 MB, free: 15.81 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.002805/0.1456, allocations: 2.624 MB / 301.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1457, allocations: 9.625 kB / 301.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006368/0.1463, allocations: 442.7 kB / 301.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.1474, allocations: 1.21 MB / 302.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-05/0.1475, allocations: 141.2 kB / 302.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.1478, allocations: 197.3 kB / 303.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.1497, allocations: 1.43 MB / 304.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/0.1498, allocations: 19.61 kB / 304.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.1499, allocations: 80.56 kB / 304.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.957e-05/0.15, allocations: 89.58 kB / 304.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.1509, allocations: 0.5623 MB / 305.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006201/0.1571, allocations: 6.437 MB / 311.7 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.1578, allocations: 0.5645 MB / 312.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/0.1586, allocations: 0.5367 MB / 312.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.1587, allocations: 43.58 kB / 312.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1587, allocations: 49.39 kB / 312.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.1587, allocations: 0 / 312.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004536/0.1633, allocations: 2.579 MB / 315.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.1633, allocations: 64.41 kB / 315.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008189/0.1641, allocations: 1.041 MB / 316.6 MB, free: 4.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.1642, allocations: 45.7 kB / 316.7 MB, free: 4.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.1646, allocations: 1.024 MB / 317.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.1647, allocations: 420.3 kB / 318.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.165, allocations: 258.2 kB / 318.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.1651, allocations: 0.5513 MB / 318.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.1654, allocations: 167.9 kB / 319.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.1658, allocations: 0.6833 MB / 319.7 MB, free: 1.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/0.1665, allocations: 0.9637 MB / 320.7 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.1665, allocations: 4 kB / 320.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001663/0.1682, allocations: 1.19 MB / 321.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1682, allocations: 11.98 kB / 321.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.1682, allocations: 12 kB / 321.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007348/0.169, allocations: 281.6 kB / 322.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/0.1697, allocations: 274.4 kB / 322.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004155/0.1738, allocations: 6.545 MB / 329 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.1744, allocations: 47.95 kB / 329.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.1745, allocations: 43.98 kB / 329.1 MB, free: 8.062 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.0003668/0.1748, allocations: 246.5 kB / 329.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.1751, allocations: 183.1 kB / 329.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.1766, allocations: 0.9777 MB / 330.5 MB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.1766, allocations: 8 kB / 330.5 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1766, allocations: 4 kB / 330.5 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1766, allocations: 7.984 kB / 330.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.1799, allocations: 2.281 MB / 332.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1799, allocations: 4 kB / 332.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.1804, allocations: 158.3 kB / 333 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008475/0.1812, allocations: 336.3 kB / 333.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.1813, allocations: 27.98 kB / 333.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.1862, allocations: 8.273 MB / 341.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1862, allocations: 0 / 341.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.1881, allocations: 1.415 MB / 343 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.1884, allocations: 219 kB / 343.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.1886, allocations: 28 kB / 343.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.189, allocations: 35.98 kB / 343.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.1892, allocations: 100.2 kB / 343.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.1892, allocations: 20 kB / 343.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000795/0.19, allocations: 0.5821 MB / 344 MB, free: 8.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.19, allocations: 0 / 344 MB, free: 8.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001218/0.1912, allocations: 435.9 kB / 344.4 MB, free: 8.516 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%), (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.0002858/0.1915, allocations: 191.4 kB / 344.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.193, allocations: 1.35 MB / 345.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.193, allocations: 320 / 345.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.1941, allocations: 1.188 MB / 347.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.1954, allocations: 370.9 kB / 347.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.2004, allocations: 3.464 MB / 350.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.2009, allocations: 500 kB / 351.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005185/0.2014, allocations: 171.9 kB / 351.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/0.2021, allocations: 413.9 kB / 352 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2021, allocations: 0 / 352 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of Templates: time 0.03128/0.2334, allocations: 23.74 MB / 375.8 MB, free: 9.531 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.2796745570376515]