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.0007801/0.0007801, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.002009, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007436/0.0007436, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001746, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1237/1.132, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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 1.573e-06/1.573e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.318e-05, allocations: 9.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01082/0.01086, allocations: 11.56 MB / 256.3 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007189/0.01805, allocations: 3.926 MB / 260.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.02021, allocations: 95.38 kB / 260.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.02255, allocations: 0.9014 MB / 261.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003573/0.02613, allocations: 1.18 MB / 262.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.02743, allocations: 0.4953 MB / 262.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004339/0.03177, allocations: 4.411 MB / 267.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.03419, allocations: 1.849 MB / 269.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/0.03959, allocations: 3.307 MB / 272.4 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/0.0429, allocations: 2.182 MB / 274.6 MB, free: 80 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1673/0.2102, allocations: 490.3 kB / 275.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.2125, allocations: 0.5781 MB / 275.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.2139, allocations: 1.155 MB / 276.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002934/0.2168, allocations: 1.251 MB / 278.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.2219, allocations: 3.353 MB / 281.4 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.2219, allocations: 1.359 kB / 281.4 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2219, allocations: 0 / 281.4 MB, free: 6.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002158/0.2221, allocations: 0 / 281.4 MB, free: 6.969 MB / 266.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.00862/0.2307, allocations: 4.775 MB / 286.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2308, allocations: 6.969 kB / 286.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.232, allocations: 0.6589 MB / 286.9 MB, free: 5.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.2343, allocations: 1.567 MB / 288.5 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.2344, allocations: 228.8 kB / 288.7 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.2347, allocations: 310.1 kB / 289 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.2374, allocations: 2.495 MB / 291.5 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.2375, allocations: 10.34 kB / 291.5 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.2377, allocations: 125.4 kB / 291.6 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-05/0.2378, allocations: 133.1 kB / 291.7 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2392, allocations: 0.9284 MB / 292.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009425/0.2486, allocations: 8.537 MB / 301.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.2498, allocations: 1.076 MB / 302.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/0.2506, allocations: 0.6801 MB / 303 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.2508, allocations: 50.42 kB / 303 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2508, allocations: 51.88 kB / 303.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.256e-06/0.2508, allocations: 4 kB / 303.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006824/0.2577, allocations: 3.592 MB / 306.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.2577, allocations: 73.41 kB / 306.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.2591, allocations: 1.463 MB / 308.2 MB, free: 9.477 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/0.2592, allocations: 57.7 kB / 308.2 MB, free: 9.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005144/0.2597, allocations: 1.213 MB / 309.5 MB, free: 8.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.2601, allocations: 0.6287 MB / 310.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.2604, allocations: 343.2 kB / 310.4 MB, free: 7.387 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.2605, allocations: 305.1 kB / 310.7 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.2609, allocations: 242.7 kB / 311 MB, free: 6.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.2614, allocations: 0.6537 MB / 311.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.2628, allocations: 1.169 MB / 312.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.2628, allocations: 4 kB / 312.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001892/0.2647, allocations: 1.363 MB / 314.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2647, allocations: 12 kB / 314.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.2647, allocations: 15.98 kB / 314.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.2659, allocations: 0.4929 MB / 314.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.2672, allocations: 0.6006 MB / 315.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004784/0.272, allocations: 7.254 MB / 322.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.2734, allocations: 76.14 kB / 322.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.2735, allocations: 56 kB / 322.7 MB, free: 10.68 MB / 298.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.001219/0.2747, allocations: 240.9 kB / 322.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.2753, allocations: 207.8 kB / 323.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.2773, allocations: 1.267 MB / 324.4 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.2773, allocations: 16 kB / 324.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.2773, allocations: 8 kB / 324.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.2773, allocations: 7.969 kB / 324.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004888/0.2822, allocations: 2.969 MB / 327.4 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.2822, allocations: 4.219 kB / 327.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.2833, allocations: 481.7 kB / 327.8 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/0.284, allocations: 305.3 kB / 328.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.2852, allocations: 0.5664 MB / 328.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.2853, allocations: 43.98 kB / 328.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/0.2913, allocations: 9.698 MB / 338.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.2913, allocations: 4 kB / 338.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.2939, allocations: 1.723 MB / 340.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/0.2944, allocations: 35.98 kB / 340.2 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.2951, allocations: 79.95 kB / 340.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.2954, allocations: 145.2 kB / 340.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.2955, allocations: 39.98 kB / 340.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.2968, allocations: 0.743 MB / 341.2 MB, free: 7.836 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2968, allocations: 4 kB / 341.2 MB, free: 7.832 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002175/0.2989, allocations: 0.6875 MB / 341.9 MB, free: 7.145 MB / 314.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.0003759/0.2993, allocations: 195.5 kB / 342.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.3014, allocations: 1.705 MB / 343.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.358e-05/0.3014, allocations: 52.06 kB / 343.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.3029, allocations: 1.582 MB / 345.4 MB, free: 3.617 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/0.3068, allocations: 6.446 MB / 351.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/0.3307, allocations: 5.584 MB / 357.5 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.3319, allocations: 0.7802 MB / 358.2 MB, free: 5.457 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001255/0.3332, allocations: 294.4 kB / 358.5 MB, free: 5.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.3344, allocations: 0.5927 MB / 359.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of SimCode: time 2.054e-06/0.3344, allocations: 3.375 kB / 359.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of Templates: time 0.06043/0.3948, allocations: 44.5 MB / 403.6 MB, free: 8.699 MB / 378.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7498902902007103]