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.001061/0.001061, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001082/0.001082, allocations: 162.8 kB / 25.61 MB, free: 8.582 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 0.9477/0.9477, allocations: 177 MB / 205.9 MB, free: 4.461 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 1.122e-06/1.122e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.515e-05, allocations: 2.312 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008443/0.008459, allocations: 11.45 MB / 285.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.0131, allocations: 3.766 MB / 289.3 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006326/0.01374, allocations: 91.38 kB / 289.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.01486, allocations: 0.878 MB / 290.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.01627, allocations: 1.18 MB / 291.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.0168, allocations: 0.5147 MB / 292 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.01931, allocations: 4.403 MB / 296.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.02084, allocations: 1.79 MB / 298.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.02345, allocations: 3.099 MB / 301.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.02516, allocations: 2.19 MB / 303.5 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003777/0.02554, allocations: 496 kB / 304 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.02614, allocations: 0.5818 MB / 304.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.02734, allocations: 1.414 MB / 306 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.02834, allocations: 1.52 MB / 307.5 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.03072, allocations: 3.575 MB / 311.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.03073, allocations: 0 / 311.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.03073, allocations: 4 kB / 311.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.03075, allocations: 0 / 311.1 MB, free: 15.14 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.00419/0.03494, allocations: 4.362 MB / 315.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.03497, allocations: 12.03 kB / 315.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.03585, allocations: 0.7248 MB / 316.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.03774, allocations: 2.095 MB / 318.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.03786, allocations: 234.5 kB / 318.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.03814, allocations: 320 kB / 318.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.04065, allocations: 2.458 MB / 321.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/0.0407, allocations: 0 / 321.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.04086, allocations: 132 kB / 321.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.769e-05/0.04094, allocations: 133.9 kB / 321.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.04214, allocations: 0.9113 MB / 322.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00976/0.0519, allocations: 10.75 MB / 333.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.0535, allocations: 1.092 MB / 334.3 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.05476, allocations: 0.7339 MB / 335 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.05491, allocations: 49.3 kB / 335.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.05496, allocations: 58.69 kB / 335.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=164): time 3.106e-06/0.05496, allocations: 0 / 335.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=180): time 0.007999/0.06296, allocations: 3.595 MB / 338.7 MB, free: 2.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.06301, allocations: 73.41 kB / 338.8 MB, free: 2.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.06448, allocations: 1.782 MB / 340.6 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/0.06456, allocations: 53.7 kB / 340.6 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008785/0.06544, allocations: 1.645 MB / 342.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.06582, allocations: 0.6508 MB / 342.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.06622, allocations: 392.9 kB / 343.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.06633, allocations: 476.8 kB / 343.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.06668, allocations: 243.8 kB / 344 MB, free: 13.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.0674, allocations: 0.8844 MB / 344.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.06852, allocations: 1.294 MB / 346.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.06853, allocations: 4 kB / 346.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002028/0.07056, allocations: 1.673 MB / 347.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.07058, allocations: 8 kB / 347.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.0706, allocations: 19.94 kB / 347.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.07168, allocations: 0.4924 MB / 348.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/0.07251, allocations: 419.3 kB / 348.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1226/0.1951, allocations: 10.02 MB / 358.8 MB, free: 73.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.1965, allocations: 73.16 kB / 358.9 MB, free: 73.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.1966, allocations: 59.91 kB / 358.9 MB, free: 73.89 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.0007208/0.1973, allocations: 277 kB / 359.2 MB, free: 73.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/0.1977, allocations: 311.1 kB / 359.5 MB, free: 73.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.2001, allocations: 1.463 MB / 361 MB, free: 73.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.2001, allocations: 21.22 kB / 361 MB, free: 73.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.2001, allocations: 11.14 kB / 361 MB, free: 73.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.2002, allocations: 9.984 kB / 361 MB, free: 73.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.2054, allocations: 3.488 MB / 364.5 MB, free: 72.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2054, allocations: 2.438 kB / 364.5 MB, free: 72.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/0.2062, allocations: 262 kB / 364.8 MB, free: 72.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.2076, allocations: 0.559 MB / 365.3 MB, free: 72.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.2077, allocations: 37.59 kB / 365.3 MB, free: 72.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004918/0.2126, allocations: 13.53 MB / 378.9 MB, free: 60.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2126, allocations: 3.375 kB / 378.9 MB, free: 60.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.2152, allocations: 2 MB / 380.9 MB, free: 60.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.2158, allocations: 407.4 kB / 381.3 MB, free: 60.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.216, allocations: 44.11 kB / 381.3 MB, free: 60.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.2167, allocations: 69.03 kB / 381.4 MB, free: 60.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.217, allocations: 148.1 kB / 381.5 MB, free: 60.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.217, allocations: 35.97 kB / 381.6 MB, free: 60.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008653/0.2179, allocations: 0.9586 MB / 382.5 MB, free: 59.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2179, allocations: 0 / 382.5 MB, free: 59.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001503/0.2194, allocations: 0.6886 MB / 383.2 MB, free: 59.98 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.0002764/0.2197, allocations: 214 kB / 383.4 MB, free: 59.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.2215, allocations: 2.074 MB / 385.5 MB, free: 58.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2215, allocations: 0 / 385.5 MB, free: 58.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.2228, allocations: 1.934 MB / 387.4 MB, free: 57.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.2245, allocations: 0.6345 MB / 388.1 MB, free: 57.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.2308, allocations: 5.613 MB / 393.7 MB, free: 51.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.2315, allocations: 0.9125 MB / 394.6 MB, free: 51.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008149/0.2323, allocations: 286.4 kB / 394.9 MB, free: 50.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.2334, allocations: 0.658 MB / 395.5 MB, free: 50.12 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2334, allocations: 0 / 395.5 MB, free: 50.12 MB / 330.7 MB Notification: Performance of Templates: time 0.05192/0.2854, allocations: 43.28 MB / 438.8 MB, free: 7.332 MB / 330.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: 4.143415828235447]