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.001198/0.001198, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001149/0.001149, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.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.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.723e-05, allocations: 2.312 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01027/0.01029, allocations: 11.77 MB / 284.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006754/0.01704, allocations: 3.779 MB / 288.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.01859, allocations: 91.38 kB / 288.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.02044, allocations: 0.878 MB / 289.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1297/0.1502, allocations: 1.182 MB / 290.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1517, allocations: 0.5016 MB / 291.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004564/0.1562, allocations: 4.375 MB / 295.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.1587, allocations: 1.799 MB / 297.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/0.1631, allocations: 3.076 MB / 300.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.1662, allocations: 2.179 MB / 302.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.1672, allocations: 495.2 kB / 303.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1683, allocations: 0.5807 MB / 303.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000903/0.1692, allocations: 1.413 MB / 305.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.1708, allocations: 1.523 MB / 306.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.1739, allocations: 3.569 MB / 310.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1739, allocations: 0 / 310.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1739, allocations: 5.906 kB / 310.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.174, allocations: 0 / 310.2 MB, free: 9.871 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.005058/0.179, allocations: 4.495 MB / 314.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1791, allocations: 12.03 kB / 314.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000901/0.18, allocations: 0.7286 MB / 315.4 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.1819, allocations: 2.227 MB / 317.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/0.182, allocations: 234.4 kB / 317.9 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.1822, allocations: 308.7 kB / 318.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.1851, allocations: 2.664 MB / 320.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.1852, allocations: 11.95 kB / 320.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.1854, allocations: 131 kB / 321 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-05/0.1854, allocations: 134 kB / 321.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.1881, allocations: 1.151 MB / 322.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.2009, allocations: 10.92 MB / 333.2 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.2026, allocations: 1.183 MB / 334.4 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.2041, allocations: 0.8272 MB / 335.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.2042, allocations: 59.7 kB / 335.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.2043, allocations: 54.7 kB / 335.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.717e-06/0.2043, allocations: 0 / 335.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.008714/0.213, allocations: 4.477 MB / 339.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.213, allocations: 73.39 kB / 339.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.2152, allocations: 1.834 MB / 341.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/0.2153, allocations: 57.7 kB / 341.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.2165, allocations: 1.625 MB / 343.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.217, allocations: 0.649 MB / 344 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000507/0.2175, allocations: 381.1 kB / 344.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2176, allocations: 476.8 kB / 344.9 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.2183, allocations: 319.8 kB / 345.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.2193, allocations: 0.9452 MB / 346.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.2212, allocations: 1.422 MB / 347.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.2212, allocations: 8 kB / 347.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003356/0.2245, allocations: 1.855 MB / 349.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.2245, allocations: 15.69 kB / 349.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.2246, allocations: 16 kB / 349.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.2261, allocations: 0.5053 MB / 349.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.2276, allocations: 443.1 kB / 350.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/0.2349, allocations: 10.29 MB / 360.7 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/0.2358, allocations: 103.9 kB / 360.8 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.2359, allocations: 80.03 kB / 360.9 MB, free: 6.492 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.0006161/0.2366, allocations: 276.9 kB / 361.1 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/0.237, allocations: 313.8 kB / 361.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.2401, allocations: 1.613 MB / 363 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.2401, allocations: 19.94 kB / 363.1 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.2401, allocations: 8 kB / 363.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.2401, allocations: 7.969 kB / 363.1 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00724/0.2474, allocations: 4.278 MB / 367.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.2474, allocations: 0 / 367.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008907/0.2483, allocations: 290.4 kB / 367.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.2498, allocations: 0.5828 MB / 368.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.2499, allocations: 35.98 kB / 368.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007627/0.2575, allocations: 13.82 MB / 382.1 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.2575, allocations: 7.375 kB / 382.1 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.2603, allocations: 2.214 MB / 384.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/0.2609, allocations: 450.2 kB / 384.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.2611, allocations: 39.28 kB / 384.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.2617, allocations: 111.8 kB / 384.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.2619, allocations: 157.7 kB / 385 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/0.262, allocations: 47.98 kB / 385.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001431/0.2634, allocations: 1.046 MB / 386.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2634, allocations: 0 / 386.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001681/0.2651, allocations: 0.6914 MB / 386.8 MB, free: 11.59 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.0003844/0.2655, allocations: 216.9 kB / 387 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.2678, allocations: 2.234 MB / 389.3 MB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2678, allocations: 3.375 kB / 389.3 MB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.2693, allocations: 2.038 MB / 391.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.2708, allocations: 0.6422 MB / 391.9 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.2779, allocations: 5.634 MB / 397.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.2786, allocations: 0.9045 MB / 398.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000834/0.2795, allocations: 462.9 kB / 398.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.2798, allocations: 152.5 kB / 399.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2798, allocations: 0 / 399.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Templates: time 0.1552/0.435, allocations: 41.77 MB / 440.9 MB, free: 105.2 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.096292567905039]