Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.001678/0.001678, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002016/0.002016, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2474, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01384/0.2613, allocations: 10.41 MB / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00777/0.2691, allocations: 3.639 MB / 446.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.2709, allocations: 91.38 kB / 446.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.2733, allocations: 0.8701 MB / 447.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.2771, allocations: 1.15 MB / 448.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.2783, allocations: 0.4993 MB / 449 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005364/0.2836, allocations: 4.245 MB / 453.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.2863, allocations: 1.841 MB / 455.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.2895, allocations: 1.967 MB / 457.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004078/0.2936, allocations: 2.39 MB / 459.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.2946, allocations: 0.4961 MB / 459.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.2961, allocations: 0.5975 MB / 460.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.2975, allocations: 1.41 MB / 462 MB, free: 8.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002564/0.3001, allocations: 1.793 MB / 463.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.3076, allocations: 6.626 MB / 470.4 MB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3076, allocations: 0 / 470.4 MB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3076, allocations: 0 / 470.4 MB, free: 476 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001479/0.3078, allocations: 0 / 470.4 MB, free: 476 kB / 366.1 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.009767/0.3175, allocations: 4.352 MB / 474.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3176, allocations: 12.03 kB / 474.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.319, allocations: 490.2 kB / 475.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00505/0.3241, allocations: 2.356 MB / 477.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.3243, allocations: 234.1 kB / 477.8 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/0.3248, allocations: 304 kB / 478.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007985/0.3328, allocations: 4.603 MB / 482.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.994e-05/0.3329, allocations: 11.94 kB / 482.7 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.3332, allocations: 128 kB / 482.8 MB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/0.3334, allocations: 138 kB / 483 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006731/0.3401, allocations: 3.775 MB / 486.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02236/0.3624, allocations: 11.73 MB / 498.5 MB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.3659, allocations: 2.075 MB / 0.4888 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.3687, allocations: 1.563 MB / 0.4903 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/0.3689, allocations: 49.27 kB / 0.4904 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.3689, allocations: 55.81 kB / 0.4904 GB, free: 24 kB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.098e-06/0.369, allocations: 0 / 0.4904 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01842/0.3874, allocations: 8.473 MB / 0.4987 GB, free: 7.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.3874, allocations: 77.34 kB / 0.4988 GB, free: 7.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/0.3908, allocations: 2.157 MB / 0.5009 GB, free: 5.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.3909, allocations: 57.7 kB / 0.501 GB, free: 5.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.3922, allocations: 1.515 MB / 0.5024 GB, free: 3.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005846/0.3927, allocations: 0.6352 MB / 0.5031 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006388/0.3934, allocations: 367.5 kB / 0.5034 GB, free: 2.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3935, allocations: 305.1 kB / 0.5037 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.3953, allocations: 1.124 MB / 0.5048 GB, free: 1.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.3975, allocations: 1.574 MB / 0.5063 GB, free: 15.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004023/0.4015, allocations: 2.784 MB / 0.5091 GB, free: 12.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.4015, allocations: 4 kB / 0.5091 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006295/0.4078, allocations: 3.582 MB / 0.5126 GB, free: 8.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4079, allocations: 8 kB / 0.5126 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.4079, allocations: 16 kB / 0.5126 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.41, allocations: 0.802 MB / 0.5134 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.4118, allocations: 455.3 kB / 0.5138 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.4233, allocations: 10.46 MB / 0.524 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.4252, allocations: 123.8 kB / 0.5241 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.4253, allocations: 76 kB / 0.5242 GB, free: 12.41 MB / 446.1 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.001917/0.4273, allocations: 1.098 MB / 0.5253 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/0.4278, allocations: 238.5 kB / 0.5255 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/0.4338, allocations: 3.268 MB / 0.5287 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.4338, allocations: 20 kB / 0.5287 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4338, allocations: 4 kB / 0.5287 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.4338, allocations: 11.97 kB / 0.5287 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.4462, allocations: 6.052 MB / 0.5346 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.4462, allocations: 11.97 kB / 0.5347 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.4476, allocations: 299.5 kB / 0.5349 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/0.4501, allocations: 0.9158 MB / 0.5358 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.4502, allocations: 43.97 kB / 0.5359 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2069/0.6571, allocations: 13.64 MB / 0.5492 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6571, allocations: 2.75 kB / 0.5492 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006174/0.6633, allocations: 4.839 MB / 0.5539 GB, free: 88.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/0.6646, allocations: 491.3 kB / 0.5544 GB, free: 88.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/0.6649, allocations: 43.11 kB / 0.5544 GB, free: 88.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.6661, allocations: 118 kB / 0.5545 GB, free: 88.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/0.6664, allocations: 166.9 kB / 0.5547 GB, free: 88.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6665, allocations: 51.27 kB / 0.5548 GB, free: 88.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.6682, allocations: 1.461 MB / 0.5562 GB, free: 88.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6682, allocations: 0 / 0.5562 GB, free: 88.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001753/0.6699, allocations: 0.7037 MB / 0.5569 GB, free: 88 MB / 446.1 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.0003423/0.6703, allocations: 204.8 kB / 0.5571 GB, free: 87.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003927/0.6742, allocations: 3.336 MB / 0.5603 GB, free: 84.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6742, allocations: 0 / 0.5603 GB, free: 84.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002681/0.6769, allocations: 2.361 MB / 0.5626 GB, free: 82.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.6792, allocations: 0.6202 MB / 0.5632 GB, free: 82.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008743/0.688, allocations: 6.858 MB / 0.5699 GB, free: 75.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.6895, allocations: 1.975 MB / 0.5719 GB, free: 73.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001503/0.691, allocations: 0.5616 MB / 0.5724 GB, free: 73.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.6915, allocations: 147.4 kB / 0.5725 GB, free: 72.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.163e-06/0.6915, allocations: 0 / 0.5725 GB, free: 72.93 MB / 446.1 MB Notification: Performance of Templates: time 0.05371/0.7452, allocations: 45.71 MB / 0.6172 GB, free: 27.75 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.593760290998034]