Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.0009439/0.0009439, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001046/0.001046, allocations: 170.8 kB / 24.91 MB, free: 9.152 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.9015/0.9015, allocations: 177.1 MB / 205.3 MB, free: 5.504 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_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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 273.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.667e-06/1.024e-05, allocations: 2.312 kB / 273.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.007263/0.007273, allocations: 10.03 MB / 283.5 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.01053, allocations: 3.333 MB / 286.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.01095, allocations: 71.5 kB / 286.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.01195, allocations: 0.7102 MB / 287.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.01318, allocations: 0.9702 MB / 288.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.01362, allocations: 423.3 kB / 289 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1044/0.118, allocations: 3.53 MB / 292.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.12, allocations: 1.414 MB / 293.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.1231, allocations: 2.427 MB / 296.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.1256, allocations: 1.719 MB / 298.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.1266, allocations: 390 kB / 298.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008485/0.1274, allocations: 486.8 kB / 298.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000773/0.1282, allocations: 1.128 MB / 300.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.1295, allocations: 1.218 MB / 301.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.1316, allocations: 2.919 MB / 304.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1316, allocations: 0 / 304.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1316, allocations: 0 / 304.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.1316, allocations: 0 / 304.2 MB, free: 13.21 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.002807/0.1344, allocations: 3.284 MB / 307.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.1345, allocations: 6.469 kB / 307.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007066/0.1352, allocations: 495.4 kB / 308 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.1364, allocations: 1.263 MB / 309.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.1365, allocations: 194.5 kB / 309.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.1367, allocations: 269.4 kB / 309.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.1383, allocations: 1.987 MB / 311.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.1384, allocations: 14.75 kB / 311.7 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.1385, allocations: 100 kB / 311.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.1386, allocations: 117.5 kB / 311.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.1396, allocations: 0.7734 MB / 312.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/0.145, allocations: 6.885 MB / 319.6 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008563/0.1459, allocations: 1.089 MB / 320.6 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.1464, allocations: 0.5215 MB / 321.2 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.1465, allocations: 53.3 kB / 321.2 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/0.1471, allocations: 0.659 MB / 321.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 3.948e-06/0.1471, allocations: 3.984 kB / 321.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=172): time 0.00675/0.1538, allocations: 3.911 MB / 325.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.1539, allocations: 183.6 kB / 326 MB, free: 11.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/0.1548, allocations: 1.202 MB / 327.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.1548, allocations: 61.69 kB / 327.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/0.1553, allocations: 0.9782 MB / 328.2 MB, free: 9.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.1556, allocations: 0.5831 MB / 328.8 MB, free: 8.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.1559, allocations: 331.5 kB / 329.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.156, allocations: 308.3 kB / 329.4 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.1563, allocations: 222.7 kB / 329.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.1568, allocations: 0.7064 MB / 330.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008839/0.1577, allocations: 1.031 MB / 331.4 MB, free: 6.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.1577, allocations: 4 kB / 331.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.001617/0.1593, allocations: 1.287 MB / 332.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1594, allocations: 12 kB / 332.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1594, allocations: 12 kB / 332.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.1606, allocations: 470.6 kB / 333.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.1612, allocations: 305.1 kB / 333.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.1652, allocations: 5.917 MB / 339.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.1657, allocations: 83.95 kB / 339.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.1658, allocations: 52 kB / 339.5 MB, free: 13.94 MB / 298.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.0003854/0.1661, allocations: 241.3 kB / 339.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.1664, allocations: 175.8 kB / 339.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.1681, allocations: 1.202 MB / 341.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.1681, allocations: 16 kB / 341.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1681, allocations: 8 kB / 341.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.1681, allocations: 7.969 kB / 341.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.1713, allocations: 2.765 MB / 343.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1713, allocations: 4 kB / 343.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.1718, allocations: 185.7 kB / 344.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.1728, allocations: 0.5726 MB / 344.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/0.1729, allocations: 43.97 kB / 344.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/0.1775, allocations: 7.07 MB / 351.8 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1775, allocations: 0 / 351.8 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1793, allocations: 1.654 MB / 353.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.1797, allocations: 270.6 kB / 353.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.1798, allocations: 32 kB / 353.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.1802, allocations: 71.95 kB / 353.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.1804, allocations: 160.3 kB / 353.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.1805, allocations: 35.98 kB / 354 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004556/0.181, allocations: 0.5972 MB / 354.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.181, allocations: 0 / 354.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001305/0.1823, allocations: 0.6211 MB / 355.2 MB, free: 14.24 MB / 314.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.0002625/0.1825, allocations: 193.6 kB / 355.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.184, allocations: 1.529 MB / 356.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.901e-05/0.184, allocations: 22.38 kB / 356.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.1851, allocations: 1.241 MB / 358.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.1862, allocations: 0.5414 MB / 358.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.1917, allocations: 4.507 MB / 363.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.1925, allocations: 0.655 MB / 363.9 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006335/0.1931, allocations: 236.7 kB / 364.1 MB, free: 5.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.1943, allocations: 495.1 kB / 364.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1943, allocations: 0 / 364.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of Templates: time 0.04837/0.2427, allocations: 39.05 MB / 403.6 MB, free: 14.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5257236999459565]