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.001209/0.001209, 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.001637/0.001637, 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.9843/0.9843, 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.683e-06/1.683e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.005e-05, allocations: 6.25 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.009872/0.009903, allocations: 11.77 MB / 284.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006846/0.01675, allocations: 3.795 MB / 288.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.01976, allocations: 95.38 kB / 288.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.02322, allocations: 0.8664 MB / 289.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1256/0.1488, allocations: 1.18 MB / 290.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1501, allocations: 0.5093 MB / 291.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.1547, allocations: 4.402 MB / 295.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.1574, allocations: 1.791 MB / 297.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005267/0.1627, allocations: 2.884 MB / 300.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.1666, allocations: 2.261 MB / 302.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.168, allocations: 0.4936 MB / 303 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.1696, allocations: 0.594 MB / 303.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.1707, allocations: 1.473 MB / 305 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.1727, allocations: 1.546 MB / 306.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.1758, allocations: 3.641 MB / 310.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1759, allocations: 0 / 310.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1759, allocations: 1.531 kB / 310.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.414e-05/0.1759, allocations: 0 / 310.2 MB, free: 9.676 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.004538/0.1805, allocations: 4.569 MB / 314.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1805, allocations: 11.98 kB / 314.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/0.1814, allocations: 0.7394 MB / 315.5 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.1835, allocations: 2.232 MB / 317.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.1836, allocations: 230.5 kB / 318 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.1839, allocations: 316.4 kB / 318.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.1869, allocations: 2.676 MB / 321 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/0.187, allocations: 11.8 kB / 321 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.1872, allocations: 128 kB / 321.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-05/0.1873, allocations: 126 kB / 321.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.1895, allocations: 1.166 MB / 322.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/0.2012, allocations: 11.06 MB / 333.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.2028, allocations: 1.152 MB / 334.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.204, allocations: 0.8211 MB / 335.5 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.2042, allocations: 64.33 kB / 335.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.2042, allocations: 54.7 kB / 335.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 4.238e-06/0.2042, allocations: 3.984 kB / 335.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.008045/0.2122, allocations: 4.492 MB / 340.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2123, allocations: 77.41 kB / 340.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.2143, allocations: 1.842 MB / 342 MB, free: 10.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.343e-05/0.2144, allocations: 57.7 kB / 342 MB, free: 10.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008527/0.2152, allocations: 1.627 MB / 343.7 MB, free: 8.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004836/0.2157, allocations: 0.6423 MB / 344.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.2161, allocations: 381.1 kB / 344.7 MB, free: 7.387 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.2162, allocations: 480.7 kB / 345.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.2168, allocations: 323.8 kB / 345.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.2177, allocations: 0.9454 MB / 346.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.2192, allocations: 1.43 MB / 347.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.2192, allocations: 7.625 kB / 347.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002718/0.2219, allocations: 1.865 MB / 349.7 MB, free: 2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2219, allocations: 12.61 kB / 349.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2219, allocations: 12 kB / 349.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.2232, allocations: 0.5019 MB / 350.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.2241, allocations: 452.6 kB / 350.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/0.2296, allocations: 10.31 MB / 361 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.2309, allocations: 123.9 kB / 361.1 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.231, allocations: 72 kB / 361.2 MB, free: 5.992 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.0007895/0.2318, allocations: 285 kB / 361.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.2322, allocations: 306.4 kB / 361.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.2345, allocations: 1.624 MB / 363.4 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.2345, allocations: 20 kB / 363.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2345, allocations: 4 kB / 363.4 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.2345, allocations: 11.95 kB / 363.4 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.2405, allocations: 4.319 MB / 367.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.2405, allocations: 4 kB / 367.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.2412, allocations: 293.6 kB / 368 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.2426, allocations: 0.6108 MB / 368.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.2427, allocations: 47.98 kB / 368.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007276/0.25, allocations: 13.98 MB / 382.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.25, allocations: 4 kB / 382.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.2535, allocations: 2.224 MB / 384.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/0.2544, allocations: 462.2 kB / 385.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.2546, allocations: 40 kB / 385.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.2552, allocations: 119.9 kB / 385.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/0.2556, allocations: 169.3 kB / 385.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.2556, allocations: 44 kB / 385.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.2569, allocations: 1.054 MB / 386.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2569, allocations: 4 kB / 386.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001693/0.2586, allocations: 0.707 MB / 387.5 MB, free: 10.77 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%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003449/0.259, allocations: 201 kB / 387.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.2617, allocations: 2.259 MB / 389.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2617, allocations: 4 kB / 389.9 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.2635, allocations: 2.086 MB / 392 MB, free: 6.078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.2654, allocations: 0.6402 MB / 392.7 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/0.2731, allocations: 5.655 MB / 398.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/0.2739, allocations: 0.9148 MB / 399.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001102/0.275, allocations: 459.1 kB / 399.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.2754, allocations: 148.5 kB / 399.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2754, allocations: 0 / 399.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Templates: time 0.1634/0.4389, allocations: 41.06 MB / 440.9 MB, free: 105.4 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: 4.191352888941765]