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.001574/0.001574, allocations: 123.4 kB / 17.79 MB, free: 5.262 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.001626/0.001626, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.687/1.687, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001581/0.001581, allocations: 51.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 53.33 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.2407/0.3592, allocations: 11.91 MB / 438.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008194/0.3674, allocations: 3.837 MB / 442.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00302/0.3704, allocations: 92.19 kB / 442.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.3736, allocations: 0.9222 MB / 443.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.3783, allocations: 1.142 MB / 444.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.38, allocations: 0.4938 MB / 445.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007153/0.3872, allocations: 4.243 MB / 449.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00384/0.391, allocations: 2.398 MB / 451.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005563/0.3966, allocations: 1.964 MB / 453.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006073/0.4026, allocations: 2.387 MB / 456.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002252/0.4049, allocations: 0.4952 MB / 456.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.4087, allocations: 0.6024 MB / 457.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.4114, allocations: 1.408 MB / 458.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006904/0.4183, allocations: 2.211 MB / 460.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.4299, allocations: 6.591 MB / 467.5 MB, free: 4.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4299, allocations: 0 / 467.5 MB, free: 4.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4299, allocations: 1.312 kB / 467.5 MB, free: 4.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002536/0.4301, allocations: 0 / 467.5 MB, free: 4.871 MB / 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.0143/0.4444, allocations: 4.425 MB / 471.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4445, allocations: 14.86 kB / 472 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.4467, allocations: 485.5 kB / 472.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005719/0.4524, allocations: 2.432 MB / 474.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.4527, allocations: 234.6 kB / 475.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008789/0.4535, allocations: 313.7 kB / 475.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.4652, allocations: 4.374 MB / 479.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/0.4653, allocations: 7.953 kB / 479.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008668/0.4662, allocations: 128 kB / 479.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.4663, allocations: 130 kB / 480 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009995/0.4763, allocations: 3.784 MB / 483.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/0.5102, allocations: 13.41 MB / 497.2 MB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/0.515, allocations: 2.768 MB / 500 MB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003639/0.5187, allocations: 1.575 MB / 0.4898 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.519, allocations: 122.4 kB / 0.4899 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.378e-05/0.5191, allocations: 51.88 kB / 0.49 GB, free: 4.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.858e-06/0.5191, allocations: 0 / 0.49 GB, free: 4.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02429/0.5434, allocations: 9.022 MB / 0.4988 GB, free: 11.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.5435, allocations: 73.41 kB / 0.4989 GB, free: 11.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005368/0.5488, allocations: 2.374 MB / 0.5012 GB, free: 9.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000329/0.5492, allocations: 57.7 kB / 0.5012 GB, free: 9.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.551, allocations: 1.501 MB / 0.5027 GB, free: 7.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.552, allocations: 0.6391 MB / 0.5033 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009813/0.5529, allocations: 363.5 kB / 0.5037 GB, free: 6.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5531, allocations: 313.1 kB / 0.504 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.5555, allocations: 1.12 MB / 0.5051 GB, free: 5.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/0.5581, allocations: 1.571 MB / 0.5066 GB, free: 3.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005437/0.5635, allocations: 2.784 MB / 0.5093 GB, free: 492 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.5635, allocations: 4 kB / 0.5093 GB, free: 488 kB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0116/0.5751, allocations: 3.594 MB / 0.5128 GB, free: 12.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.5752, allocations: 12 kB / 0.5128 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.981e-05/0.5752, allocations: 15.94 kB / 0.5128 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/0.5787, allocations: 0.8024 MB / 0.5136 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.582, allocations: 459.3 kB / 0.5141 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.6017, allocations: 11.18 MB / 0.525 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/0.6057, allocations: 123.8 kB / 0.5251 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006401/0.6064, allocations: 79.98 kB / 0.5252 GB, free: 15.47 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.003634/0.61, allocations: 1.087 MB / 0.5262 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/0.6113, allocations: 258.3 kB / 0.5265 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.6217, allocations: 3.289 MB / 0.5297 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/0.6217, allocations: 24 kB / 0.5297 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/0.6217, allocations: 4 kB / 0.5297 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-05/0.6218, allocations: 11.95 kB / 0.5297 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.6367, allocations: 6.844 MB / 0.5364 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.6367, allocations: 0 / 0.5364 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.6382, allocations: 295.5 kB / 0.5367 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002808/0.641, allocations: 0.9206 MB / 0.5376 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.6412, allocations: 43.98 kB / 0.5376 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/0.6573, allocations: 14.62 MB / 0.5519 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.6573, allocations: 7.969 kB / 0.5519 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.6677, allocations: 4.858 MB / 0.5567 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/0.6696, allocations: 0.5813 MB / 0.5572 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008563/0.6705, allocations: 32 kB / 0.5573 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/0.6725, allocations: 127.8 kB / 0.5574 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000521/0.673, allocations: 153.7 kB / 0.5575 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/0.6732, allocations: 47.98 kB / 0.5576 GB, free: 13.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003683/0.6769, allocations: 1.645 MB / 0.5592 GB, free: 11.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6769, allocations: 0 / 0.5592 GB, free: 11.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003649/0.6805, allocations: 0.7032 MB / 0.5599 GB, free: 10.66 MB / 478.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.0005956/0.6811, allocations: 215.6 kB / 0.5601 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006365/0.6875, allocations: 3.484 MB / 0.5635 GB, free: 6.852 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.6875, allocations: 4.062 kB / 0.5635 GB, free: 6.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004375/0.6919, allocations: 2.429 MB / 0.5659 GB, free: 4.309 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004972/0.6969, allocations: 0.7282 MB / 0.5666 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.712, allocations: 6.856 MB / 0.5733 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003772/0.7158, allocations: 2.518 MB / 0.5757 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002342/0.7182, allocations: 0.5945 MB / 0.5763 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/0.719, allocations: 159.4 kB / 0.5765 GB, free: 9.383 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/0.719, allocations: 0 / 0.5765 GB, free: 9.383 MB / 494.1 MB Notification: Performance of Templates: time 0.08494/0.8039, allocations: 41.25 MB / 0.6167 GB, free: 500 kB / 0.5137 GB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/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.171576518565416]