Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.001207/0.001207, allocations: 84 kB / 21.43 MB, free: 3.129 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.006694/0.006694, allocations: 143.7 kB / 24.68 MB, free: 8.91 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.8179/0.8179, allocations: 173.4 MB / 201.2 MB, free: 9.445 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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.674e-05, allocations: 6.219 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.00769/0.007707, allocations: 10.37 MB / 330.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004569/0.01228, allocations: 3.564 MB / 333.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005849/0.01286, allocations: 91.38 kB / 333.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.01397, allocations: 0.8771 MB / 334.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.01532, allocations: 1.184 MB / 335.8 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.0158, allocations: 0.4913 MB / 336.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.01832, allocations: 4.357 MB / 340.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.01974, allocations: 1.782 MB / 342.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.0215, allocations: 2.83 MB / 345.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.02316, allocations: 2.085 MB / 347.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.02352, allocations: 0.4999 MB / 347.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.02405, allocations: 0.5741 MB / 348.4 MB, free: 8.949 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007427/0.02479, allocations: 1.457 MB / 349.9 MB, free: 7.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009095/0.0257, allocations: 1.524 MB / 351.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.02933, allocations: 6.657 MB / 358 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.02934, allocations: 4 kB / 358 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02934, allocations: 0 / 358 MB, free: 15.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.02937, allocations: 0 / 358 MB, free: 15.28 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004296/0.03367, allocations: 4.285 MB / 362.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.0337, allocations: 12.92 kB / 362.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.03426, allocations: 454.3 kB / 362.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.03666, allocations: 2.339 MB / 365.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.03677, allocations: 226.5 kB / 365.4 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.03705, allocations: 312.1 kB / 365.7 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/0.04123, allocations: 4.611 MB / 370.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.04128, allocations: 7.953 kB / 370.3 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.04147, allocations: 128 kB / 370.4 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.869e-05/0.04155, allocations: 134 kB / 370.5 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/0.0452, allocations: 3.771 MB / 374.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.05532, allocations: 11.73 MB / 386 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.05716, allocations: 2.082 MB / 388.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.05876, allocations: 1.571 MB / 389.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.05891, allocations: 45.28 kB / 389.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.05893, allocations: 51.88 kB / 389.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=164): time 2.705e-06/0.05893, allocations: 0 / 389.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=180): time 0.009419/0.06835, allocations: 8.482 MB / 398.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.06839, allocations: 69.41 kB / 398.3 MB, free: 6.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.07015, allocations: 2.136 MB / 400.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.07023, allocations: 57.7 kB / 400.5 MB, free: 4.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.07087, allocations: 1.511 MB / 402 MB, free: 2.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.07116, allocations: 0.6274 MB / 402.7 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.07151, allocations: 367.4 kB / 403 MB, free: 1.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.07157, allocations: 313 kB / 403.3 MB, free: 1.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.07277, allocations: 1.117 MB / 404.4 MB, free: 164 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.074, allocations: 1.57 MB / 406 MB, free: 14.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.07629, allocations: 2.788 MB / 408.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.07629, allocations: 4 kB / 408.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003437/0.07973, allocations: 3.57 MB / 412.4 MB, free: 7.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.07975, allocations: 12.5 kB / 412.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.07976, allocations: 12 kB / 412.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.08077, allocations: 0.7942 MB / 413.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/0.08161, allocations: 463.3 kB / 413.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006124/0.08773, allocations: 10.45 MB / 424.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.08842, allocations: 128 kB / 424.2 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/0.08851, allocations: 83.98 kB / 424.3 MB, free: 11.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001283/0.08979, allocations: 1.09 MB / 425.4 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.09, allocations: 238.5 kB / 425.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.09313, allocations: 3.272 MB / 428.9 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.09313, allocations: 16 kB / 428.9 MB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.09314, allocations: 8 kB / 428.9 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.09315, allocations: 7.969 kB / 428.9 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/0.0994, allocations: 6.036 MB / 435 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.09941, allocations: 4 kB / 435 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/0.1, allocations: 303.7 kB / 435.3 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.1012, allocations: 0.9235 MB / 436.2 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/0.1013, allocations: 39.98 kB / 436.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007853/0.1092, allocations: 13.65 MB / 449.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1092, allocations: 0 / 449.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1274/0.2365, allocations: 4.825 MB / 454.7 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006362/0.2372, allocations: 491.2 kB / 455.2 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.2373, allocations: 42.75 kB / 455.2 MB, free: 117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/0.2379, allocations: 122.3 kB / 455.3 MB, free: 117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.2382, allocations: 168.3 kB / 455.5 MB, free: 117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/0.2382, allocations: 51.98 kB / 455.6 MB, free: 117 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.2394, allocations: 1.453 MB / 457 MB, free: 116.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2394, allocations: 0 / 457 MB, free: 116.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001137/0.2405, allocations: 0.6987 MB / 457.7 MB, free: 116.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0002694/0.2408, allocations: 205 kB / 457.9 MB, free: 116.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.2432, allocations: 3.331 MB / 461.2 MB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2432, allocations: 0 / 461.2 MB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.2447, allocations: 2.361 MB / 463.6 MB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.2459, allocations: 0.6066 MB / 464.2 MB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.2508, allocations: 6.648 MB / 470.9 MB, free: 106.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009742/0.2518, allocations: 1.928 MB / 472.8 MB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.2521, allocations: 164.5 kB / 472.9 MB, free: 104.8 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2521, allocations: 0 / 472.9 MB, free: 104.8 MB / 410.7 MB Notification: Performance of Templates: time 0.1985/0.4507, allocations: 167.5 MB / 0.6255 GB, free: 150.4 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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: 11.48111932631582]