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.0009164/0.0009164, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00118/0.00118, allocations: 172.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9438/0.9438, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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 2.134e-06/2.134e-06, allocations: 0 / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.516e-05, allocations: 2.312 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01356/0.01359, allocations: 11.42 MB / 285.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007903/0.0215, allocations: 3.753 MB / 289.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.02395, allocations: 95.38 kB / 289.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.02613, allocations: 0.8702 MB / 290.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003751/0.02988, allocations: 1.191 MB / 291.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.03102, allocations: 0.5109 MB / 292.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003813/0.03484, allocations: 4.372 MB / 296.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.03653, allocations: 1.794 MB / 298.2 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.0396, allocations: 3.076 MB / 301.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.04152, allocations: 2.202 MB / 303.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004688/0.04199, allocations: 492 kB / 304 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006761/0.04266, allocations: 0.5779 MB / 304.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00082/0.04348, allocations: 1.414 MB / 306 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.04474, allocations: 1.52 MB / 307.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.0475, allocations: 3.575 MB / 311.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.04751, allocations: 3.938 kB / 311.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.04751, allocations: 0 / 311.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.974e-05/0.04757, allocations: 0 / 311.1 MB, free: 15.34 MB / 298.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.004557/0.05212, allocations: 4.354 MB / 315.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.05216, allocations: 15.97 kB / 315.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009741/0.05313, allocations: 0.7247 MB / 316.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.05513, allocations: 2.087 MB / 318.3 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.05524, allocations: 230.5 kB / 318.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.05552, allocations: 320 kB / 318.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.05795, allocations: 2.462 MB / 321.3 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.058, allocations: 3.953 kB / 321.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.05818, allocations: 124 kB / 321.4 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.942e-05/0.05827, allocations: 134 kB / 321.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.05958, allocations: 0.9073 MB / 322.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009666/0.06925, allocations: 10.75 MB / 333.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.07045, allocations: 1.092 MB / 334.3 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009361/0.07139, allocations: 0.7339 MB / 335 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.07154, allocations: 57.3 kB / 335 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.07158, allocations: 54.7 kB / 335.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=164): time 3.616e-06/0.07158, allocations: 0 / 335.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=180): time 0.006526/0.07811, allocations: 3.593 MB / 338.7 MB, free: 2.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.07815, allocations: 77.41 kB / 338.8 MB, free: 2.895 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.07984, allocations: 1.782 MB / 340.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/0.07994, allocations: 53.7 kB / 340.6 MB, free: 1.008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008584/0.0808, allocations: 1.645 MB / 342.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.08118, allocations: 0.643 MB / 342.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004166/0.0816, allocations: 392.9 kB / 343.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.0817, allocations: 480.8 kB / 343.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.08207, allocations: 243.8 kB / 344 MB, free: 13.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/0.08271, allocations: 0.8727 MB / 344.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.08385, allocations: 1.294 MB / 346.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.08385, allocations: 7.75 kB / 346.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0022/0.08605, allocations: 1.673 MB / 347.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.08607, allocations: 12.44 kB / 347.8 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.08609, allocations: 20 kB / 347.9 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.08723, allocations: 0.4962 MB / 348.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.0881, allocations: 411.4 kB / 348.8 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1245/0.2126, allocations: 10.03 MB / 358.8 MB, free: 74.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.2143, allocations: 69.39 kB / 358.9 MB, free: 74.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.2145, allocations: 59.45 kB / 358.9 MB, free: 74.07 MB / 330.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.0009109/0.2154, allocations: 279.8 kB / 359.2 MB, free: 73.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000564/0.216, allocations: 308.4 kB / 359.5 MB, free: 73.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.2188, allocations: 1.467 MB / 361 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.2188, allocations: 19.47 kB / 361 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-05/0.2188, allocations: 10.86 kB / 361 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.2188, allocations: 12.09 kB / 361 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/0.2248, allocations: 3.483 MB / 364.5 MB, free: 73.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.2248, allocations: 1.875 kB / 364.5 MB, free: 73.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.2257, allocations: 263.3 kB / 364.7 MB, free: 73.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.2272, allocations: 0.5621 MB / 365.3 MB, free: 73.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.2273, allocations: 42.09 kB / 365.3 MB, free: 73.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005495/0.2328, allocations: 13.52 MB / 378.9 MB, free: 60.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2328, allocations: 3.531 kB / 378.9 MB, free: 60.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.2356, allocations: 2.002 MB / 380.9 MB, free: 60.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/0.2363, allocations: 398.3 kB / 381.3 MB, free: 60.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.2365, allocations: 39.25 kB / 381.3 MB, free: 60.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.2373, allocations: 76.28 kB / 381.4 MB, free: 60.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.2376, allocations: 147.6 kB / 381.5 MB, free: 60.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/0.2377, allocations: 37.52 kB / 381.6 MB, free: 60.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009611/0.2386, allocations: 0.9504 MB / 382.5 MB, free: 60.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2386, allocations: 0 / 382.5 MB, free: 60.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001817/0.2405, allocations: 0.692 MB / 383.2 MB, free: 60.15 MB / 330.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%), (1,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003495/0.2408, allocations: 214.8 kB / 383.4 MB, free: 60.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.2429, allocations: 2.073 MB / 385.5 MB, free: 58.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2429, allocations: 0 / 385.5 MB, free: 58.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.2444, allocations: 1.939 MB / 387.4 MB, free: 57.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.2465, allocations: 0.6356 MB / 388 MB, free: 57.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00784/0.2543, allocations: 5.584 MB / 393.6 MB, free: 52.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.255, allocations: 0.9079 MB / 394.5 MB, free: 51.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009758/0.2559, allocations: 283.3 kB / 394.8 MB, free: 50.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.257, allocations: 0.658 MB / 395.5 MB, free: 50.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.744e-06/0.257, allocations: 0 / 395.5 MB, free: 50.24 MB / 330.7 MB Notification: Performance of Templates: time 0.04423/0.3012, allocations: 43.28 MB / 438.8 MB, free: 7.496 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.996868839021772]