Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 216.2 kB / 23 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.89 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3315, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0171/0.3486, allocations: 11.95 MB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009174/0.3578, allocations: 3.845 MB / 445.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.3608, allocations: 75.69 kB / 445.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.3637, allocations: 0.9289 MB / 446.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.3681, allocations: 1.138 MB / 447.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.3696, allocations: 0.507 MB / 448.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006247/0.3758, allocations: 4.253 MB / 452.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.3787, allocations: 1.841 MB / 454.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.3824, allocations: 1.935 MB / 456.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004807/0.3872, allocations: 2.394 MB / 458.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.3884, allocations: 0.4922 MB / 459.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.39, allocations: 0.6014 MB / 459.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.3915, allocations: 1.422 MB / 461.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004166/0.3956, allocations: 2.209 MB / 463.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.4057, allocations: 6.583 MB / 470 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4057, allocations: 0 / 470 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4057, allocations: 0 / 470 MB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002067/0.4059, allocations: 4 kB / 470 MB, free: 15.13 MB / 382.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.01435/0.4202, allocations: 4.415 MB / 474.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.4203, allocations: 16.03 kB / 474.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.4225, allocations: 490.2 kB / 474.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/0.4273, allocations: 2.435 MB / 477.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.4275, allocations: 230.2 kB / 477.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/0.4281, allocations: 304 kB / 477.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008603/0.4367, allocations: 4.369 MB / 482.2 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.553e-05/0.4368, allocations: 15.89 kB / 482.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.4371, allocations: 128 kB / 482.4 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.4372, allocations: 138 kB / 482.5 MB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006931/0.4442, allocations: 3.775 MB / 486.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.4678, allocations: 13.41 MB / 499.7 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.4715, allocations: 2.766 MB / 0.4907 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/0.4744, allocations: 1.575 MB / 0.4922 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.4747, allocations: 130.4 kB / 0.4923 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.4748, allocations: 51.88 kB / 0.4924 GB, free: 12.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.677e-06/0.4748, allocations: 0 / 0.4924 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.019/0.4938, allocations: 9.029 MB / 0.5012 GB, free: 2.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.4938, allocations: 69.41 kB / 0.5013 GB, free: 2.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/0.4979, allocations: 2.382 MB / 0.5036 GB, free: 456 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.4981, allocations: 53.7 kB / 0.5037 GB, free: 396 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.4994, allocations: 1.513 MB / 0.5051 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006489/0.5001, allocations: 0.6275 MB / 0.5057 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006479/0.5007, allocations: 363.5 kB / 0.5061 GB, free: 13.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5009, allocations: 301.1 kB / 0.5064 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.5028, allocations: 1.12 MB / 0.5075 GB, free: 12.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.505, allocations: 1.574 MB / 0.509 GB, free: 10.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.5091, allocations: 2.788 MB / 0.5117 GB, free: 7.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.5091, allocations: 4 kB / 0.5117 GB, free: 7.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006704/0.5158, allocations: 3.598 MB / 0.5153 GB, free: 4.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.5158, allocations: 11.94 kB / 0.5153 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.5158, allocations: 12 kB / 0.5153 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/0.5179, allocations: 0.7943 MB / 0.5161 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.5196, allocations: 459.2 kB / 0.5165 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.5315, allocations: 11.18 MB / 0.5274 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.5339, allocations: 131.8 kB / 0.5275 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.5341, allocations: 79.98 kB / 0.5276 GB, free: 6.723 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.00229/0.5364, allocations: 1.094 MB / 0.5287 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006562/0.5371, allocations: 262.3 kB / 0.5289 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005944/0.543, allocations: 3.289 MB / 0.5321 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.543, allocations: 16 kB / 0.5322 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.543, allocations: 8 kB / 0.5322 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.5431, allocations: 11.97 kB / 0.5322 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2894/0.8325, allocations: 6.828 MB / 0.5388 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.8325, allocations: 0 / 0.5388 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.8337, allocations: 300.3 kB / 0.5391 GB, free: 98.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/0.836, allocations: 0.9218 MB / 0.54 GB, free: 98.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.8361, allocations: 46.03 kB / 0.5401 GB, free: 98.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.8467, allocations: 14.62 MB / 0.5543 GB, free: 86.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8467, allocations: 3.938 kB / 0.5544 GB, free: 86.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007209/0.8539, allocations: 4.863 MB / 0.5591 GB, free: 84.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/0.8553, allocations: 0.5803 MB / 0.5597 GB, free: 84.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004016/0.8557, allocations: 33.94 kB / 0.5597 GB, free: 84.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.8569, allocations: 114.8 kB / 0.5598 GB, free: 84.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/0.8573, allocations: 159.3 kB / 0.56 GB, free: 84.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.8574, allocations: 50.45 kB / 0.56 GB, free: 84.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.8595, allocations: 1.641 MB / 0.5616 GB, free: 82.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8595, allocations: 0 / 0.5616 GB, free: 82.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001974/0.8614, allocations: 0.7126 MB / 0.5623 GB, free: 82.25 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.0003766/0.8618, allocations: 205.7 kB / 0.5625 GB, free: 82.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004085/0.8659, allocations: 3.489 MB / 0.5659 GB, free: 78.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8659, allocations: 4 kB / 0.5659 GB, free: 78.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.8686, allocations: 2.427 MB / 0.5683 GB, free: 75.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.8716, allocations: 0.7126 MB / 0.569 GB, free: 75.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/0.8805, allocations: 6.912 MB / 0.5757 GB, free: 68.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.8821, allocations: 2.533 MB / 0.5782 GB, free: 65.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001643/0.8837, allocations: 0.5867 MB / 0.5788 GB, free: 65.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.8841, allocations: 155.4 kB / 0.5789 GB, free: 65.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.021e-06/0.8841, allocations: 0 / 0.5789 GB, free: 65.04 MB / 446.1 MB Notification: Performance of Templates: time 0.05875/0.9429, allocations: 41.84 MB / 0.6198 GB, free: 23.61 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.784671110101044]