Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.001161/0.001161, allocations: 85.17 kB / 21.5 MB, free: 2.984 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.00133/0.00133, allocations: 152.5 kB / 24.89 MB, free: 8.23 MB / 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 0.956/0.956, allocations: 173.3 MB / 201.5 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] 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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.173e-05, allocations: 2.312 kB / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.007705/0.007727, allocations: 9.991 MB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003874/0.0116, allocations: 3.263 MB / 281.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004994/0.0121, allocations: 67.56 kB / 281.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009944/0.01309, allocations: 0.7024 MB / 282.5 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.0143, allocations: 0.9663 MB / 283.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.01477, allocations: 411.4 kB / 283.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.01685, allocations: 3.528 MB / 287.4 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.01796, allocations: 1.412 MB / 288.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1189/0.1369, allocations: 2.407 MB / 291.2 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.1393, allocations: 1.723 MB / 292.9 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007622/0.1401, allocations: 386.8 kB / 293.3 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007612/0.1408, allocations: 472.6 kB / 293.8 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007811/0.1416, allocations: 1.124 MB / 294.9 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.1432, allocations: 1.213 MB / 296.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.1459, allocations: 2.899 MB / 299 MB, free: 17.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1459, allocations: 0 / 299 MB, free: 17.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1459, allocations: 0 / 299 MB, free: 17.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.146, allocations: 1.25 kB / 299 MB, free: 17.31 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.004093/0.1501, allocations: 3.268 MB / 302.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1501, allocations: 10.52 kB / 302.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008972/0.151, allocations: 456.5 kB / 302.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.1526, allocations: 1.26 MB / 304 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.1527, allocations: 195.2 kB / 304.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.1529, allocations: 258.5 kB / 304.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.1548, allocations: 1.99 MB / 306.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/0.1548, allocations: 14.61 kB / 306.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.155, allocations: 107.4 kB / 306.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.75e-05/0.1551, allocations: 107.9 kB / 306.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1562, allocations: 0.7787 MB / 307.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/0.1623, allocations: 6.877 MB / 314.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/0.1632, allocations: 1.111 MB / 315.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.1637, allocations: 0.5151 MB / 315.9 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.1639, allocations: 49.3 kB / 316 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.1644, allocations: 0.659 MB / 316.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=156): time 2.415e-06/0.1644, allocations: 0 / 316.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=172): time 0.006971/0.1713, allocations: 3.914 MB / 320.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1714, allocations: 176.2 kB / 320.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000756/0.1721, allocations: 1.199 MB / 321.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.1722, allocations: 57.7 kB / 322 MB, free: 2.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.1726, allocations: 0.9724 MB / 323 MB, free: 1.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.1728, allocations: 0.584 MB / 323.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.1732, allocations: 338.6 kB / 323.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.777e-05/0.1732, allocations: 305.1 kB / 324.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.1735, allocations: 230.2 kB / 324.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.1739, allocations: 0.7081 MB / 325.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.1749, allocations: 1.029 MB / 326.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1749, allocations: 4 kB / 326.1 MB, free: 14.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.001684/0.1766, allocations: 1.285 MB / 327.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1766, allocations: 8 kB / 327.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1766, allocations: 12 kB / 327.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009466/0.1775, allocations: 478.7 kB / 327.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.1782, allocations: 305.8 kB / 328.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/0.1824, allocations: 5.901 MB / 334.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.1832, allocations: 87.98 kB / 334.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/0.1832, allocations: 52 kB / 334.2 MB, free: 6.383 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: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * 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%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006238/0.1839, allocations: 252.6 kB / 334.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.1841, allocations: 175.8 kB / 334.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.1856, allocations: 1.18 MB / 335.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.1856, allocations: 23.94 kB / 335.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.1856, allocations: 8 kB / 335.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.1857, allocations: 11.95 kB / 335.9 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.1894, allocations: 2.755 MB / 338.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1894, allocations: 4.281 kB / 338.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.1898, allocations: 192.6 kB / 338.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.1909, allocations: 0.5555 MB / 339.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/0.191, allocations: 39.98 kB / 339.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.1954, allocations: 7.092 MB / 346.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1954, allocations: 4 kB / 346.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.1974, allocations: 1.641 MB / 348.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.1979, allocations: 269.8 kB / 348.4 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.1981, allocations: 43.98 kB / 348.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.1985, allocations: 63.95 kB / 348.5 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.1988, allocations: 160.6 kB / 348.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.1988, allocations: 31.98 kB / 348.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005231/0.1993, allocations: 0.5862 MB / 349.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1993, allocations: 4 kB / 349.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001439/0.2008, allocations: 0.6211 MB / 349.9 MB, free: 6.703 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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%), (9,25,33.3%), (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.000282/0.2011, allocations: 191 kB / 350.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.2027, allocations: 1.54 MB / 351.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.095e-05/0.2027, allocations: 16.5 kB / 351.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.2038, allocations: 1.237 MB / 352.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.2049, allocations: 0.5322 MB / 353.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.2102, allocations: 4.508 MB / 357.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.2108, allocations: 0.6476 MB / 358.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.2113, allocations: 224.8 kB / 358.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/0.2121, allocations: 0.4913 MB / 359.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2121, allocations: 0 / 359.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of Templates: time 0.04695/0.2591, allocations: 38.9 MB / 398.2 MB, free: 7.055 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.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.700658429879695]