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.001366/0.001366, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.00163/0.00163, allocations: 146.1 kB / 24.89 MB, free: 8.785 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.8593/0.8593, allocations: 173.4 MB / 201.5 MB, free: 8.262 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.152e-06/1.152e-06, allocations: 0 / 268.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.307e-05, allocations: 5.266 kB / 268.5 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01836/0.01838, allocations: 10.03 MB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.0248, allocations: 3.271 MB / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009349/0.02574, allocations: 67.56 kB / 281.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.02722, allocations: 0.7102 MB / 282.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.02928, allocations: 0.9584 MB / 283.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.03003, allocations: 415.4 kB / 284 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00344/0.03347, allocations: 3.516 MB / 287.5 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.03538, allocations: 1.42 MB / 288.9 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.03874, allocations: 2.413 MB / 291.3 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.04142, allocations: 1.715 MB / 293 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001/0.04242, allocations: 384 kB / 293.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.04329, allocations: 479.8 kB / 293.9 MB, free: 264 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009797/0.04427, allocations: 1.126 MB / 295 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.04564, allocations: 1.216 MB / 296.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.04861, allocations: 2.901 MB / 299.1 MB, free: 11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.04861, allocations: 0 / 299.1 MB, free: 11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.04861, allocations: 0 / 299.1 MB, free: 11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.012e-05/0.04866, allocations: 0 / 299.1 MB, free: 11 MB / 282.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.004668/0.05333, allocations: 3.264 MB / 302.4 MB, free: 7.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.05336, allocations: 8.031 kB / 302.4 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/0.05422, allocations: 464.5 kB / 302.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.05559, allocations: 1.257 MB / 304.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.05569, allocations: 197.5 kB / 304.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.05591, allocations: 252.4 kB / 304.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.05783, allocations: 1.991 MB / 306.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.05788, allocations: 15.94 kB / 306.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.05802, allocations: 108 kB / 306.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-05/0.05809, allocations: 108.9 kB / 306.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.05916, allocations: 0.7781 MB / 307.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007338/0.0665, allocations: 6.879 MB / 314.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.06764, allocations: 1.107 MB / 315.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006506/0.06829, allocations: 0.5164 MB / 316 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.06844, allocations: 57.3 kB / 316.1 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006233/0.06906, allocations: 0.6576 MB / 316.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=156): time 2.665e-06/0.06907, allocations: 0 / 316.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=172): time 0.007222/0.07629, allocations: 3.905 MB / 320.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.07635, allocations: 180.2 kB / 320.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009556/0.07731, allocations: 1.193 MB / 322 MB, free: 3.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.949e-05/0.07739, allocations: 57.7 kB / 322.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.07791, allocations: 0.9894 MB / 323.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.07822, allocations: 0.577 MB / 323.6 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.07854, allocations: 327.3 kB / 324 MB, free: 1.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.0786, allocations: 301.1 kB / 324.3 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.07895, allocations: 230.7 kB / 324.5 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.07944, allocations: 0.707 MB / 325.2 MB, free: 32 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.08038, allocations: 1.022 MB / 326.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.08038, allocations: 4 kB / 326.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.001672/0.08205, allocations: 1.293 MB / 327.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.08207, allocations: 14.19 kB / 327.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.08208, allocations: 12 kB / 327.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009651/0.08305, allocations: 472.2 kB / 328 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.08375, allocations: 335.5 kB / 328.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/0.08807, allocations: 5.924 MB / 334.2 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.08871, allocations: 87.94 kB / 334.3 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.08879, allocations: 56 kB / 334.4 MB, free: 6.367 MB / 314.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.0004631/0.08925, allocations: 238.8 kB / 334.6 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.08946, allocations: 171.8 kB / 334.8 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.09099, allocations: 1.204 MB / 336 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.091, allocations: 20 kB / 336 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.091, allocations: 4 kB / 336 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.09102, allocations: 11.97 kB / 336 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.09464, allocations: 2.756 MB / 338.8 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.09465, allocations: 4 kB / 338.8 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.09515, allocations: 212 kB / 339 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.09624, allocations: 0.5546 MB / 339.5 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/0.09633, allocations: 47.97 kB / 339.6 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/0.101, allocations: 7.099 MB / 346.7 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.101, allocations: 3.984 kB / 346.7 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.1029, allocations: 1.648 MB / 348.3 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.1033, allocations: 262.6 kB / 348.6 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.1034, allocations: 43.98 kB / 348.6 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.1038, allocations: 67.95 kB / 348.7 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.1041, allocations: 153 kB / 348.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.1042, allocations: 39.98 kB / 348.9 MB, free: 7.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004689/0.1046, allocations: 0.5843 MB / 349.5 MB, free: 6.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1046, allocations: 0 / 349.5 MB, free: 6.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001231/0.1059, allocations: 0.6328 MB / 350.1 MB, free: 6.012 MB / 330.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.0002729/0.1061, allocations: 194.6 kB / 350.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.1078, allocations: 1.526 MB / 351.8 MB, free: 4.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.173e-05/0.1078, allocations: 20.5 kB / 351.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.1089, allocations: 1.23 MB / 353.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.11, allocations: 0.5346 MB / 353.6 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/0.2109, allocations: 4.496 MB / 358.1 MB, free: 81.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008848/0.2118, allocations: 0.6475 MB / 358.8 MB, free: 81.67 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008245/0.2126, allocations: 235.4 kB / 359 MB, free: 81.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009459/0.2135, allocations: 0.4895 MB / 359.5 MB, free: 81.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2135, allocations: 1.094 kB / 359.5 MB, free: 81.59 MB / 330.7 MB Notification: Performance of Templates: time 0.04872/0.2622, allocations: 38.96 MB / 398.4 MB, free: 52.17 MB / 330.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 -s gbode -gbm=radauIIA3 -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.711229348089546]