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.001095/0.001095, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.002834, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001145/0.001145, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002604, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9897/0.9897, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0897/1.079, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.723e-06/1.723e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.409e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0106/0.01062, allocations: 11.57 MB / 256.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007476/0.0181, allocations: 3.918 MB / 260 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.01981, allocations: 95.38 kB / 260.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.02192, allocations: 0.8897 MB / 261 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.02502, allocations: 1.191 MB / 262.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009682/0.02598, allocations: 0.5031 MB / 262.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.03011, allocations: 4.4 MB / 267.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.03219, allocations: 1.841 MB / 268.9 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004351/0.03654, allocations: 3.322 MB / 272.3 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.03956, allocations: 2.175 MB / 274.4 MB, free: 212 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1176/0.1571, allocations: 495.4 kB / 274.9 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.1591, allocations: 0.5762 MB / 275.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.1603, allocations: 1.16 MB / 276.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002324/0.1627, allocations: 1.251 MB / 277.9 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005078/0.1677, allocations: 3.355 MB / 281.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.1677, allocations: 0 / 281.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1677, allocations: 0 / 281.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001964/0.1679, allocations: 1.609 kB / 281.3 MB, free: 7.121 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.008431/0.1764, allocations: 4.773 MB / 286 MB, free: 5.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1764, allocations: 10.98 kB / 286 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.1775, allocations: 0.6582 MB / 286.7 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.18, allocations: 1.559 MB / 288.3 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.1801, allocations: 231.8 kB / 288.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/0.1804, allocations: 316.2 kB / 288.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.1833, allocations: 2.493 MB / 291.3 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.915e-05/0.1834, allocations: 2.469 kB / 291.3 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/0.1836, allocations: 124.4 kB / 291.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-05/0.1837, allocations: 133.2 kB / 291.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.1851, allocations: 0.9379 MB / 292.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009864/0.195, allocations: 8.558 MB / 301 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.1961, allocations: 1.07 MB / 302.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/0.1969, allocations: 0.677 MB / 302.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.1971, allocations: 56.88 kB / 302.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1971, allocations: 53.52 kB / 302.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 4.449e-06/0.1971, allocations: 0 / 302.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006572/0.2037, allocations: 3.545 MB / 306.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.2037, allocations: 72.88 kB / 306.5 MB, free: 10.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.205, allocations: 1.462 MB / 308 MB, free: 9.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.233e-05/0.2051, allocations: 57.7 kB / 308 MB, free: 9.688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007488/0.2059, allocations: 1.214 MB / 309.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.2062, allocations: 0.6237 MB / 309.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.2065, allocations: 349.6 kB / 310.2 MB, free: 7.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.2066, allocations: 304 kB / 310.5 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.2069, allocations: 246.7 kB / 310.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.2074, allocations: 0.6468 MB / 311.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.2084, allocations: 1.125 MB / 312.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.2084, allocations: 4 kB / 312.5 MB, free: 5.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001794/0.2102, allocations: 1.362 MB / 313.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.2102, allocations: 14.34 kB / 313.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.2102, allocations: 12 kB / 313.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.2113, allocations: 0.4945 MB / 314.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.2126, allocations: 0.6023 MB / 315 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/0.2171, allocations: 7.261 MB / 322.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.2183, allocations: 60.12 kB / 322.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.2184, allocations: 63.98 kB / 322.4 MB, free: 11 MB / 298.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.0008787/0.2193, allocations: 248.1 kB / 322.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.2196, allocations: 203.8 kB / 322.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.2216, allocations: 1.257 MB / 324.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2216, allocations: 20 kB / 324.1 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.2216, allocations: 7.984 kB / 324.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.2216, allocations: 14.81 kB / 324.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004426/0.2261, allocations: 2.971 MB / 327.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2261, allocations: 4 kB / 327.1 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.2272, allocations: 485.1 kB / 327.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007344/0.2279, allocations: 298.4 kB / 327.9 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.2291, allocations: 0.5665 MB / 328.4 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.2292, allocations: 35.98 kB / 328.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006122/0.2354, allocations: 9.702 MB / 338.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.2354, allocations: 7.469 kB / 338.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.2381, allocations: 1.709 MB / 339.9 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004803/0.2386, allocations: 36 kB / 339.9 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.2393, allocations: 75.95 kB / 340 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.2395, allocations: 145.2 kB / 340.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.2396, allocations: 36 kB / 340.2 MB, free: 8.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009453/0.2405, allocations: 0.7551 MB / 340.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2405, allocations: 0 / 340.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001903/0.2424, allocations: 0.6875 MB / 341.6 MB, free: 7.48 MB / 314.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.0003534/0.2428, allocations: 185.7 kB / 341.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.2448, allocations: 1.692 MB / 343.5 MB, free: 5.621 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.055e-05/0.2448, allocations: 49.62 kB / 343.5 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.2462, allocations: 1.494 MB / 345 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.2483, allocations: 0.8161 MB / 345.8 MB, free: 3.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/0.2704, allocations: 5.601 MB / 351.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009762/0.2713, allocations: 0.7762 MB / 352.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.2724, allocations: 279.4 kB / 352.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.2738, allocations: 0.5927 MB / 353.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2738, allocations: 0 / 353.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of Templates: time 0.05757/0.3314, allocations: 44.44 MB / 397.5 MB, free: 144 kB / 362.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 -ignoreHideResult -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: 3.7140588648617268]