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.002554/0.002554, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002838/0.002838, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.569/1.569, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.492e-06/1.492e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.277e-05, allocations: 6.25 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01521/0.01524, allocations: 10.16 MB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007439/0.02268, allocations: 3.159 MB / 280.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.02416, allocations: 75.5 kB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.02619, allocations: 0.6945 MB / 281.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.02908, allocations: 0.9625 MB / 282.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.03004, allocations: 411.4 kB / 282.8 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00479/0.03483, allocations: 3.509 MB / 286.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/0.03715, allocations: 1.381 MB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1409/0.178, allocations: 2.266 MB / 289.9 MB, free: 17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/0.1819, allocations: 1.784 MB / 291.7 MB, free: 17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.1835, allocations: 397.2 kB / 292.1 MB, free: 17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.1858, allocations: 484.4 kB / 292.6 MB, free: 17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001979/0.1878, allocations: 1.167 MB / 293.7 MB, free: 17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003222/0.191, allocations: 1.236 MB / 295 MB, free: 17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006297/0.1973, allocations: 5.329 MB / 300.3 MB, free: 16.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1973, allocations: 1.188 kB / 300.3 MB, free: 16.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1973, allocations: 1.156 kB / 300.3 MB, free: 16.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.1974, allocations: 0 / 300.3 MB, free: 16.76 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.007602/0.205, allocations: 3.982 MB / 304.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2051, allocations: 11.27 kB / 304.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.2062, allocations: 0.5737 MB / 304.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.2095, allocations: 1.788 MB / 306.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.2096, allocations: 199.9 kB / 306.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.2099, allocations: 258.7 kB / 307.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.2147, allocations: 3.441 MB / 310.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.894e-05/0.2148, allocations: 14.52 kB / 310.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.215, allocations: 103.5 kB / 310.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-05/0.2151, allocations: 117 kB / 310.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.2191, allocations: 2.459 MB / 313.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.2365, allocations: 12.6 MB / 325.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.2395, allocations: 1.643 MB / 327.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.2416, allocations: 0.982 MB / 328.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.2418, allocations: 61.28 kB / 328.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001941/0.2438, allocations: 1.076 MB / 329.6 MB, free: 9.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 3.677e-06/0.2438, allocations: 0 / 329.6 MB, free: 9.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=172): time 0.01841/0.2622, allocations: 6.142 MB / 335.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.2624, allocations: 181.8 kB / 335.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/0.2665, allocations: 2.059 MB / 338 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.2668, allocations: 53.7 kB / 338 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.2687, allocations: 1.399 MB / 339.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009902/0.2697, allocations: 0.6392 MB / 340.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008159/0.2705, allocations: 441.1 kB / 340.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.2708, allocations: 480.7 kB / 341 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.2723, allocations: 0.6128 MB / 341.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.2744, allocations: 1.38 MB / 343 MB, free: 11.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.2782, allocations: 1.975 MB / 344.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.2782, allocations: 4 kB / 345 MB, free: 9.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005733/0.2839, allocations: 2.46 MB / 347.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.2839, allocations: 8.625 kB / 347.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.284, allocations: 16.28 kB / 347.4 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/0.2863, allocations: 0.6383 MB / 348.1 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.2876, allocations: 334 kB / 348.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.3008, allocations: 9.595 MB / 358 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.3028, allocations: 139.8 kB / 358.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.303, allocations: 68 kB / 358.2 MB, free: 11.86 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.001779/0.3048, allocations: 0.782 MB / 359 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/0.3054, allocations: 254.7 kB / 359.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/0.3105, allocations: 2.165 MB / 361.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.3105, allocations: 16 kB / 361.4 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.3105, allocations: 8 kB / 361.4 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.3105, allocations: 7.969 kB / 361.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.3228, allocations: 5.181 MB / 366.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.3228, allocations: 7.938 kB / 366.6 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009543/0.3237, allocations: 209.5 kB / 366.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002518/0.3262, allocations: 0.6794 MB / 367.5 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.3264, allocations: 39.97 kB / 367.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/0.3408, allocations: 11.12 MB / 378.7 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3408, allocations: 7.375 kB / 378.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007685/0.3485, allocations: 3.065 MB / 381.7 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/0.3504, allocations: 398.5 kB / 382.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005585/0.351, allocations: 36 kB / 382.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.3522, allocations: 103.9 kB / 382.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005822/0.3528, allocations: 200.2 kB / 382.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.3529, allocations: 47.98 kB / 382.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002245/0.3551, allocations: 1.181 MB / 383.7 MB, free: 1.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3551, allocations: 0 / 383.7 MB, free: 1.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002649/0.3578, allocations: 0.6328 MB / 384.3 MB, free: 1.227 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%), (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.0005128/0.3583, allocations: 207 kB / 384.5 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006905/0.3652, allocations: 2.594 MB / 387.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3652, allocations: 8.062 kB / 387.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003591/0.3688, allocations: 1.946 MB / 389.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.3716, allocations: 0.5437 MB / 389.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.3816, allocations: 5.075 MB / 394.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.3838, allocations: 1.5 MB / 396.2 MB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001338/0.3851, allocations: 359 kB / 396.5 MB, free: 4.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/0.3855, allocations: 132.5 kB / 396.7 MB, free: 4.719 MB / 346.7 MB Notification: Performance of SimCode: time 1.794e-06/0.3855, allocations: 0 / 396.7 MB, free: 4.719 MB / 346.7 MB Notification: Performance of Templates: time 0.2263/0.6119, allocations: 37.76 MB / 434.4 MB, free: 124.6 MB / 378.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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: 6.678765368997119]