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.001221/0.001221, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002375, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007366/0.0007366, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001754, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9759/0.9759, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08572/1.062, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.643e-06/1.643e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.677e-05, allocations: 6.25 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01123/0.01126, allocations: 9.559 MB / 254.1 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005933/0.01719, allocations: 3.162 MB / 257.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.01853, allocations: 59.62 kB / 257.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.01985, allocations: 0.6324 MB / 258 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.02179, allocations: 0.8226 MB / 258.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.02244, allocations: 391.2 kB / 259.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.0245, allocations: 2.536 MB / 261.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.02552, allocations: 1.033 MB / 262.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.02878, allocations: 1.923 MB / 264.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.03005, allocations: 1.157 MB / 265.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.03038, allocations: 272 kB / 266.1 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.03093, allocations: 375.7 kB / 266.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004182/0.03135, allocations: 0.6273 MB / 267.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006348/0.03199, allocations: 0.7214 MB / 267.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.03356, allocations: 1.877 MB / 269.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.03358, allocations: 0 / 269.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.03358, allocations: 0 / 269.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.03361, allocations: 0 / 269.7 MB, free: 5.004 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.002437/0.03604, allocations: 2.859 MB / 272.5 MB, free: 2.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.03607, allocations: 15.97 kB / 272.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005421/0.03661, allocations: 433.7 kB / 273 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.03764, allocations: 0.935 MB / 273.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.03771, allocations: 144.1 kB / 274 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.03789, allocations: 196.3 kB / 274.2 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1066/0.1444, allocations: 1.45 MB / 275.7 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.1445, allocations: 9.031 kB / 275.7 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.865e-05/0.1446, allocations: 74.5 kB / 275.8 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.738e-05/0.1447, allocations: 91.47 kB / 275.9 MB, free: 19.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.1456, allocations: 0.5551 MB / 276.4 MB, free: 19.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/0.1511, allocations: 5.227 MB / 281.6 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.1517, allocations: 0.5743 MB / 282.2 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007307/0.1524, allocations: 0.5078 MB / 282.7 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.1526, allocations: 43.67 kB / 282.8 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1526, allocations: 46.19 kB / 282.8 MB, free: 17.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.434e-06/0.1526, allocations: 0.5625 kB / 282.8 MB, free: 17.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004549/0.1571, allocations: 2.579 MB / 285.4 MB, free: 17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.1572, allocations: 66.75 kB / 285.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.1578, allocations: 0.8878 MB / 286.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.1578, allocations: 46.77 kB / 286.4 MB, free: 16.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.1581, allocations: 0.7971 MB / 287.2 MB, free: 16.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.1582, allocations: 404.9 kB / 287.6 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.1584, allocations: 242.9 kB / 287.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.1585, allocations: 361 kB / 288.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1587, allocations: 162.2 kB / 288.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.159, allocations: 0.513 MB / 288.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.1596, allocations: 0.8113 MB / 289.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1596, allocations: 3.562 kB / 289.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001022/0.1606, allocations: 0.9774 MB / 290.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1606, allocations: 13.28 kB / 290.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1606, allocations: 12.34 kB / 290.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.1612, allocations: 280.9 kB / 290.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.1618, allocations: 327.2 kB / 291.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.1639, allocations: 4.797 MB / 296 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.1643, allocations: 46.03 kB / 296.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.1644, allocations: 39.58 kB / 296.1 MB, free: 10.39 MB / 266.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.0002527/0.1646, allocations: 200.6 kB / 296.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1648, allocations: 123.8 kB / 296.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009607/0.1657, allocations: 0.8296 MB / 297.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1657, allocations: 10.78 kB / 297.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1657, allocations: 6.875 kB / 297.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1657, allocations: 7.984 kB / 297.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.1678, allocations: 1.973 MB / 299.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1678, allocations: 4 kB / 299.3 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.1682, allocations: 207.9 kB / 299.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.1684, allocations: 179.1 kB / 299.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006192/0.169, allocations: 362.5 kB / 300 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.1691, allocations: 27.98 kB / 300 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.1714, allocations: 6.011 MB / 306 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1714, allocations: 11.97 kB / 306.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.1726, allocations: 1.222 MB / 307.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1727, allocations: 24 kB / 307.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.173, allocations: 35.98 kB / 307.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.1731, allocations: 96.69 kB / 307.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.1732, allocations: 24 kB / 307.5 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003331/0.1735, allocations: 435.7 kB / 307.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1735, allocations: 0 / 307.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000832/0.1744, allocations: 432 kB / 308.3 MB, free: 14.72 MB / 282.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.0002458/0.1746, allocations: 170.4 kB / 308.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.1757, allocations: 1.123 MB / 309.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.455e-05/0.1758, allocations: 26.97 kB / 309.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007767/0.1765, allocations: 0.9325 MB / 310.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.1774, allocations: 482.4 kB / 311 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.1899, allocations: 3.37 MB / 314.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1903, allocations: 464 kB / 314.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004522/0.1908, allocations: 172.5 kB / 315 MB, free: 7.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/0.1913, allocations: 361.1 kB / 315.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1913, allocations: 0 / 315.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of Templates: time 0.02866/0.22, allocations: 24.83 MB / 340.2 MB, free: 15.13 MB / 314.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 -ignoreHideResult -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.172544252127409]