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.00102/0.00102, allocations: 81.81 kB / 21.43 MB, free: 3.066 MB / 18.57 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.001229/0.001229, allocations: 163.8 kB / 24.82 MB, free: 8.867 MB / 18.57 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.083/1.083, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.788e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.009805/0.009833, allocations: 11.44 MB / 284.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007117/0.01695, allocations: 3.767 MB / 288.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.01899, allocations: 95.38 kB / 288.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.02114, allocations: 0.8741 MB / 289.5 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1243/0.1455, allocations: 1.187 MB / 290.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.1469, allocations: 0.5104 MB / 291.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004589/0.1515, allocations: 4.397 MB / 295.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.1541, allocations: 1.794 MB / 297.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005355/0.1595, allocations: 3.098 MB / 300.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.163, allocations: 2.191 MB / 302.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.1643, allocations: 494.2 kB / 303.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.1659, allocations: 0.5818 MB / 303.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.1669, allocations: 1.417 MB / 305.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.169, allocations: 1.518 MB / 306.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.1719, allocations: 3.579 MB / 310.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1719, allocations: 0 / 310.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1719, allocations: 0 / 310.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.1721, allocations: 0 / 310.3 MB, free: 9.949 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.004165/0.1762, allocations: 4.374 MB / 314.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1763, allocations: 15.98 kB / 314.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007996/0.1771, allocations: 0.717 MB / 315.4 MB, free: 5.102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.1789, allocations: 2.103 MB / 317.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.148e-05/0.179, allocations: 230.5 kB / 317.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.1792, allocations: 312.6 kB / 318 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.1814, allocations: 2.464 MB / 320.5 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/0.1814, allocations: 11.73 kB / 320.5 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.1817, allocations: 124.8 kB / 320.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.779e-05/0.1817, allocations: 130 kB / 320.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1832, allocations: 0.9125 MB / 321.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.1942, allocations: 10.75 MB / 332.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.1956, allocations: 1.091 MB / 333.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.1967, allocations: 0.7357 MB / 334.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.1968, allocations: 54.14 kB / 334.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1969, allocations: 54.7 kB / 334.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.516e-06/0.1969, allocations: 0 / 334.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006034/0.2029, allocations: 3.602 MB / 337.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.2029, allocations: 73.41 kB / 338 MB, free: 14.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.2046, allocations: 1.779 MB / 339.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.2047, allocations: 61.64 kB / 339.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.2058, allocations: 1.637 MB / 341.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.2062, allocations: 0.6559 MB / 342.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.2066, allocations: 387.6 kB / 342.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.2067, allocations: 480.8 kB / 343 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.2071, allocations: 244.3 kB / 343.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.2078, allocations: 0.8705 MB / 344.1 MB, free: 9.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.2089, allocations: 1.293 MB / 345.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.2089, allocations: 4 kB / 345.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002223/0.2111, allocations: 1.681 MB / 347.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.2112, allocations: 15.98 kB / 347.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.2112, allocations: 12 kB / 347.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.2123, allocations: 0.5055 MB / 347.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008404/0.2131, allocations: 414.3 kB / 348 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/0.2184, allocations: 10.03 MB / 358 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.2195, allocations: 71.94 kB / 358.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.2196, allocations: 63.92 kB / 358.2 MB, free: 10.48 MB / 314.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.000744/0.2204, allocations: 279.8 kB / 358.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.2208, allocations: 310.4 kB / 358.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.2226, allocations: 1.463 MB / 360.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.2226, allocations: 16 kB / 360.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.2227, allocations: 8 kB / 360.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.2227, allocations: 11.97 kB / 360.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005027/0.2277, allocations: 3.488 MB / 363.7 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2277, allocations: 4 kB / 363.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.2283, allocations: 261.6 kB / 364 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.2295, allocations: 0.5635 MB / 364.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.2296, allocations: 47.97 kB / 364.6 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006918/0.2365, allocations: 13.53 MB / 378.1 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.2365, allocations: 4 kB / 378.1 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.2395, allocations: 2 MB / 380.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008057/0.2403, allocations: 406.2 kB / 380.5 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.2405, allocations: 36 kB / 380.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.241, allocations: 75.95 kB / 380.6 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.2413, allocations: 153.1 kB / 380.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.2414, allocations: 32 kB / 380.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009428/0.2423, allocations: 0.9529 MB / 381.8 MB, free: 2.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2423, allocations: 4 kB / 381.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001664/0.244, allocations: 0.6953 MB / 382.5 MB, free: 1.75 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.0003256/0.2443, allocations: 207.5 kB / 382.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.2463, allocations: 2.064 MB / 384.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2463, allocations: 0 / 384.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.2479, allocations: 1.947 MB / 386.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.2495, allocations: 0.6274 MB / 387.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.257, allocations: 5.614 MB / 392.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/0.2577, allocations: 0.907 MB / 393.8 MB, free: 6.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009538/0.2587, allocations: 287.4 kB / 394.1 MB, free: 6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.2597, allocations: 0.6541 MB / 394.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2597, allocations: 0 / 394.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of Templates: time 0.2103/0.47, allocations: 42.5 MB / 437.3 MB, free: 114.5 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] 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","",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.958973402157426]