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.001432/0.001432, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001114/0.001114, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9714/0.9714, allocations: 177 MB / 204.8 MB, free: 5.57 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.553e-06/1.553e-06, allocations: 3.938 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.026e-05, allocations: 2.312 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.009219/0.009239, allocations: 11.77 MB / 284.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005694/0.01493, allocations: 3.795 MB / 288.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008729/0.01581, allocations: 95.38 kB / 288.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.01727, allocations: 0.8664 MB / 289.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1212/0.1385, allocations: 1.187 MB / 290.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1398, allocations: 0.507 MB / 291.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004396/0.1442, allocations: 4.399 MB / 295.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.1464, allocations: 1.796 MB / 297.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.1501, allocations: 3.092 MB / 300.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.1525, allocations: 2.175 MB / 302.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007418/0.1532, allocations: 493.7 kB / 303.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008274/0.154, allocations: 0.5812 MB / 303.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006815/0.1547, allocations: 1.424 MB / 305.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.1559, allocations: 1.518 MB / 306.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.1583, allocations: 3.573 MB / 310.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1583, allocations: 0 / 310.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1583, allocations: 0 / 310.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.033e-05/0.1583, allocations: 3.219 kB / 310.2 MB, free: 9.758 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.003999/0.1623, allocations: 4.505 MB / 314.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1624, allocations: 11.98 kB / 314.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.1633, allocations: 0.7282 MB / 315.4 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.1652, allocations: 2.234 MB / 317.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/0.1653, allocations: 233.7 kB / 317.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.1655, allocations: 308.7 kB / 318.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.1684, allocations: 2.67 MB / 320.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.1684, allocations: 8 kB / 320.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.1689, allocations: 126.9 kB / 321 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.642e-05/0.169, allocations: 134 kB / 321.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.1712, allocations: 1.163 MB / 322.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.1815, allocations: 10.91 MB / 333.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.1829, allocations: 1.184 MB / 334.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.184, allocations: 0.8235 MB / 335.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.1841, allocations: 66.27 kB / 335.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1842, allocations: 54.7 kB / 335.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 2.855e-06/0.1842, allocations: 0 / 335.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.007172/0.1914, allocations: 4.481 MB / 339.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1914, allocations: 69.41 kB / 339.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.1933, allocations: 1.838 MB / 341.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.1934, allocations: 57.7 kB / 341.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.1946, allocations: 1.624 MB / 343.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.195, allocations: 0.6458 MB / 344.1 MB, free: 8.051 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.1954, allocations: 385.1 kB / 344.4 MB, free: 7.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.1955, allocations: 476.8 kB / 344.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.196, allocations: 324.3 kB / 345.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007967/0.1968, allocations: 0.9491 MB / 346.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.1982, allocations: 1.42 MB / 347.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.1983, allocations: 4 kB / 347.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002422/0.2007, allocations: 1.855 MB / 349.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.2007, allocations: 16.72 kB / 349.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.2007, allocations: 12 kB / 349.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.2022, allocations: 0.512 MB / 350 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.203, allocations: 447.1 kB / 350.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/0.2085, allocations: 10.29 MB / 360.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008492/0.2093, allocations: 103.9 kB / 360.8 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.2095, allocations: 79.98 kB / 360.9 MB, free: 6.309 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.0007018/0.2102, allocations: 276.9 kB / 361.2 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/0.2106, allocations: 314.4 kB / 361.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.2133, allocations: 1.612 MB / 363.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.2133, allocations: 16 kB / 363.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.2133, allocations: 8 kB / 363.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.2133, allocations: 7.969 kB / 363.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006697/0.22, allocations: 4.283 MB / 367.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.22, allocations: 4 kB / 367.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.2209, allocations: 282.2 kB / 367.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.2225, allocations: 0.5759 MB / 368.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.2226, allocations: 39.98 kB / 368.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008192/0.2308, allocations: 13.83 MB / 382.1 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2308, allocations: 3.188 kB / 382.1 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003438/0.2342, allocations: 2.224 MB / 384.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.2349, allocations: 442.3 kB / 384.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.2352, allocations: 36 kB / 384.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.2359, allocations: 103.8 kB / 384.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.2362, allocations: 161.7 kB / 385.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/0.2363, allocations: 52 kB / 385.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004542/0.2409, allocations: 1.054 MB / 386.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2409, allocations: 0 / 386.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004812/0.2457, allocations: 0.6953 MB / 386.9 MB, free: 11.4 MB / 346.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.0003466/0.246, allocations: 208.9 kB / 387.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005783/0.2518, allocations: 2.23 MB / 389.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2518, allocations: 7.281 kB / 389.3 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.2537, allocations: 2.046 MB / 391.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004893/0.2586, allocations: 0.6328 MB / 392 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.2721, allocations: 5.653 MB / 397.6 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008236/0.2729, allocations: 0.907 MB / 398.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001026/0.2739, allocations: 459 kB / 399 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.2743, allocations: 152.5 kB / 399.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2743, allocations: 0 / 399.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Templates: time 0.1502/0.4245, allocations: 41.77 MB / 440.9 MB, free: 105.1 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.9546772963367403]