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.001659/0.001659, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.002133/0.002133, allocations: 169.7 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.444/1.444, allocations: 177.2 MB / 204.9 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.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.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.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 52.05 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09446, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01105/0.1055, allocations: 8.617 MB / 387.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.1107, allocations: 2.925 MB / 390.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000564/0.1112, allocations: 59.62 kB / 390.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.1126, allocations: 0.6248 MB / 391.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.1142, allocations: 0.7843 MB / 391.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.1149, allocations: 395.4 kB / 392.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.1174, allocations: 2.44 MB / 394.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.1188, allocations: 0.9977 MB / 395.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.12, allocations: 1.114 MB / 396.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.1217, allocations: 1.253 MB / 398.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.1221, allocations: 276 kB / 398.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.1228, allocations: 379.8 kB / 398.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008244/0.1236, allocations: 0.783 MB / 399.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.1248, allocations: 1.031 MB / 400.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.1284, allocations: 3.69 MB / 404.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1284, allocations: 0 / 404.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1284, allocations: 0 / 404.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.235e-05/0.1284, allocations: 0 / 404.3 MB, free: 6.18 MB / 366.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.004638/0.1331, allocations: 2.58 MB / 406.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1331, allocations: 8.031 kB / 406.9 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/0.1339, allocations: 291.3 kB / 407.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.1363, allocations: 1.294 MB / 408.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.1365, allocations: 144.2 kB / 408.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.1368, allocations: 203.9 kB / 408.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004144/0.1409, allocations: 2.519 MB / 411.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/0.141, allocations: 11.94 kB / 411.3 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.1411, allocations: 72 kB / 411.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.1413, allocations: 87.69 kB / 411.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/0.1447, allocations: 1.962 MB / 413.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.1562, allocations: 6.767 MB / 420.2 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.1579, allocations: 1.011 MB / 421.2 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.1598, allocations: 0.9123 MB / 422.1 MB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.16, allocations: 48.95 kB / 422.2 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.16, allocations: 39.56 kB / 422.2 MB, free: 3.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.805e-06/0.16, allocations: 0 / 422.2 MB, free: 3.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.0126/0.1726, allocations: 5.496 MB / 427.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1727, allocations: 60.41 kB / 427.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.1743, allocations: 1.19 MB / 429 MB, free: 13.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.1743, allocations: 45.7 kB / 429 MB, free: 12.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.1751, allocations: 0.9488 MB / 429.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.1754, allocations: 408.5 kB / 430.3 MB, free: 11.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/0.1758, allocations: 251.5 kB / 430.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.176, allocations: 361.9 kB / 430.9 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.177, allocations: 0.6325 MB / 431.6 MB, free: 10.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.1784, allocations: 1.008 MB / 432.6 MB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.1809, allocations: 1.731 MB / 434.3 MB, free: 7.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.1809, allocations: 4 kB / 434.3 MB, free: 7.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003851/0.1847, allocations: 2.226 MB / 436.5 MB, free: 5.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1847, allocations: 14.5 kB / 436.6 MB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1848, allocations: 12 kB / 436.6 MB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.186, allocations: 0.4884 MB / 437.1 MB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.1871, allocations: 303.5 kB / 437.4 MB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/0.1947, allocations: 6.695 MB / 444.1 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/0.1956, allocations: 91.86 kB / 444.1 MB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.1957, allocations: 56 kB / 444.2 MB, free: 13.12 MB / 414.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.0009733/0.1967, allocations: 0.6031 MB / 444.8 MB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.1969, allocations: 143 kB / 444.9 MB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.2005, allocations: 1.936 MB / 446.9 MB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.2005, allocations: 12 kB / 446.9 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.2005, allocations: 7.938 kB / 446.9 MB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.2005, allocations: 8.156 kB / 446.9 MB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006511/0.207, allocations: 3.63 MB / 450.5 MB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.207, allocations: 11.92 kB / 450.5 MB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008335/0.2078, allocations: 187.7 kB / 450.7 MB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.2093, allocations: 0.5352 MB / 451.3 MB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.2094, allocations: 31.98 kB / 451.3 MB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008972/0.2184, allocations: 8.202 MB / 459.5 MB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2184, allocations: 4.031 kB / 459.5 MB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.223, allocations: 2.844 MB / 462.3 MB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007571/0.2238, allocations: 259 kB / 462.6 MB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.2239, allocations: 31.98 kB / 462.6 MB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.2247, allocations: 67.92 kB / 462.7 MB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.2249, allocations: 100.8 kB / 462.8 MB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/0.2249, allocations: 31.98 kB / 462.8 MB, free: 9.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.2261, allocations: 0.7869 MB / 463.6 MB, free: 9.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2261, allocations: 0 / 463.6 MB, free: 9.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00146/0.2276, allocations: 435.9 kB / 464 MB, free: 8.672 MB / 430.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.0003509/0.2279, allocations: 190.9 kB / 464.2 MB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.2313, allocations: 2.007 MB / 466.2 MB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2313, allocations: 0 / 466.2 MB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.2336, allocations: 1.376 MB / 467.6 MB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.2352, allocations: 356.2 kB / 468 MB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.2415, allocations: 4.164 MB / 472.1 MB, free: 436 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1749/0.4164, allocations: 1.062 MB / 473.2 MB, free: 82.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009867/0.4174, allocations: 310.3 kB / 473.5 MB, free: 82.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.4177, allocations: 94.92 kB / 473.6 MB, free: 82.73 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4177, allocations: 0 / 473.6 MB, free: 82.73 MB / 430.1 MB Notification: Performance of Templates: time 0.03343/0.4511, allocations: 22.91 MB / 496.5 MB, free: 72.72 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.378037116024643]