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.001606/0.001606, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002144/0.002144, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.527/1.527, allocations: 230.3 MB / 257.9 MB, free: 8.23 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.001903/0.001903, allocations: 67.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2932, allocations: 53.36 MB / 432.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01628/0.3095, allocations: 11.97 MB / 444.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008144/0.3176, allocations: 3.849 MB / 448 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.3196, allocations: 91.38 kB / 448 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.3221, allocations: 0.9286 MB / 449 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.3258, allocations: 1.15 MB / 450.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.3271, allocations: 0.507 MB / 450.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005564/0.3327, allocations: 4.273 MB / 454.9 MB, free: 260 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.3356, allocations: 1.841 MB / 456.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.3389, allocations: 1.97 MB / 458.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004401/0.3433, allocations: 2.394 MB / 461.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.3446, allocations: 0.4922 MB / 461.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.3462, allocations: 0.6014 MB / 462.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.3479, allocations: 1.41 MB / 463.6 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003455/0.3513, allocations: 2.221 MB / 465.8 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00833/0.3597, allocations: 6.587 MB / 472.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3597, allocations: 3.938 kB / 472.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3597, allocations: 0 / 472.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001522/0.3598, allocations: 0 / 472.4 MB, free: 14.61 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.01193/0.3717, allocations: 4.348 MB / 476.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.3718, allocations: 8.031 kB / 476.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.3735, allocations: 494.2 kB / 477.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/0.3785, allocations: 2.356 MB / 479.6 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.3788, allocations: 234.1 kB / 479.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006315/0.3794, allocations: 304 kB / 480.1 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00886/0.3883, allocations: 4.373 MB / 484.5 MB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.291e-05/0.3884, allocations: 7.953 kB / 484.5 MB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/0.3887, allocations: 128 kB / 484.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.3888, allocations: 130 kB / 484.8 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007258/0.3961, allocations: 3.787 MB / 488.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02569/0.4218, allocations: 13.25 MB / 0.49 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/0.4252, allocations: 2.081 MB / 0.4921 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/0.428, allocations: 1.559 MB / 0.4936 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.4282, allocations: 53.27 kB / 0.4937 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.4283, allocations: 55.86 kB / 0.4937 GB, free: 12.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.426e-06/0.4283, allocations: 0 / 0.4937 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01983/0.4481, allocations: 8.513 MB / 0.502 GB, free: 4.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.4482, allocations: 69.41 kB / 0.5021 GB, free: 4.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/0.4521, allocations: 2.374 MB / 0.5044 GB, free: 1.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.4524, allocations: 57.7 kB / 0.5045 GB, free: 1.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.4537, allocations: 1.509 MB / 0.5059 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007156/0.4544, allocations: 0.6315 MB / 0.5065 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006364/0.4551, allocations: 363.5 kB / 0.5069 GB, free: 15.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4552, allocations: 309.1 kB / 0.5072 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.4571, allocations: 1.128 MB / 0.5083 GB, free: 13.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.4593, allocations: 1.574 MB / 0.5098 GB, free: 12.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004365/0.4637, allocations: 2.78 MB / 0.5125 GB, free: 9.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4637, allocations: 4 kB / 0.5125 GB, free: 9.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006658/0.4703, allocations: 3.586 MB / 0.516 GB, free: 5.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.4704, allocations: 19.92 kB / 0.5161 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/0.4704, allocations: 12 kB / 0.5161 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.4726, allocations: 0.8024 MB / 0.5169 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.4744, allocations: 459.3 kB / 0.5173 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.4866, allocations: 10.67 MB / 0.5277 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.489, allocations: 123.8 kB / 0.5278 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.4892, allocations: 79.98 kB / 0.5279 GB, free: 8.766 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.002607/0.4918, allocations: 1.086 MB / 0.529 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007941/0.4926, allocations: 266.3 kB / 0.5292 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/0.4987, allocations: 3.286 MB / 0.5324 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.4988, allocations: 20 kB / 0.5325 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.4988, allocations: 4 kB / 0.5325 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.4988, allocations: 7.969 kB / 0.5325 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2557/0.7545, allocations: 6.82 MB / 0.5391 GB, free: 98.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7546, allocations: 3.891 kB / 0.5391 GB, free: 98.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.7559, allocations: 293.4 kB / 0.5394 GB, free: 98.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/0.7583, allocations: 0.9267 MB / 0.5403 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.7585, allocations: 40.69 kB / 0.5404 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.7692, allocations: 13.91 MB / 0.5539 GB, free: 87.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7693, allocations: 0 / 0.5539 GB, free: 87.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007166/0.7764, allocations: 4.854 MB / 0.5587 GB, free: 85.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.7779, allocations: 0.5107 MB / 0.5592 GB, free: 85.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/0.7783, allocations: 38.31 kB / 0.5592 GB, free: 85.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.7795, allocations: 124 kB / 0.5593 GB, free: 85.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/0.7799, allocations: 156.4 kB / 0.5595 GB, free: 85.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.78, allocations: 48.91 kB / 0.5595 GB, free: 85.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002238/0.7823, allocations: 1.639 MB / 0.5611 GB, free: 85.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7823, allocations: 0 / 0.5611 GB, free: 85.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002181/0.7844, allocations: 0.7054 MB / 0.5618 GB, free: 84.42 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.0004074/0.7848, allocations: 219.4 kB / 0.562 GB, free: 84.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004155/0.789, allocations: 3.336 MB / 0.5653 GB, free: 81.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.789, allocations: 3.406 kB / 0.5653 GB, free: 81.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.7918, allocations: 2.351 MB / 0.5676 GB, free: 78.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/0.795, allocations: 0.7326 MB / 0.5683 GB, free: 77.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.8056, allocations: 6.897 MB / 0.575 GB, free: 71.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/0.8074, allocations: 2.529 MB / 0.5775 GB, free: 68.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001918/0.8093, allocations: 0.5867 MB / 0.5781 GB, free: 67.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.8098, allocations: 159.4 kB / 0.5782 GB, free: 67.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.284e-06/0.8098, allocations: 0 / 0.5782 GB, free: 67.76 MB / 446.1 MB Notification: Performance of Templates: time 0.06207/0.8719, allocations: 42.49 MB / 0.6197 GB, free: 25.7 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.906775200739503]