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.0009482/0.0009482, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009153/0.0009153, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.512 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 2.023e-06/2.023e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.748e-05, allocations: 5.266 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0136/0.01363, allocations: 11.42 MB / 284.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006971/0.0206, allocations: 3.763 MB / 288.6 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.02264, allocations: 91.38 kB / 288.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.0245, allocations: 0.8741 MB / 289.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1262/0.1507, allocations: 1.187 MB / 290.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1522, allocations: 0.5 MB / 291.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004159/0.1564, allocations: 4.379 MB / 295.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.1587, allocations: 1.791 MB / 297.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004907/0.1636, allocations: 3.081 MB / 300.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.167, allocations: 2.187 MB / 302.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.1681, allocations: 499 kB / 303.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.1694, allocations: 0.5793 MB / 303.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008243/0.1703, allocations: 1.417 MB / 305.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.172, allocations: 1.525 MB / 306.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.1748, allocations: 3.569 MB / 310.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1748, allocations: 0 / 310.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1748, allocations: 0 / 310.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001344/0.1749, allocations: 1.219 kB / 310.3 MB, free: 9.879 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.004554/0.1795, allocations: 4.365 MB / 314.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1795, allocations: 8.031 kB / 314.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.1805, allocations: 0.7286 MB / 315.4 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.1825, allocations: 2.09 MB / 317.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.574e-05/0.1826, allocations: 232.6 kB / 317.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/0.1828, allocations: 312.1 kB / 318 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.1852, allocations: 2.466 MB / 320.4 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/0.1852, allocations: 13.64 kB / 320.5 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.1854, allocations: 124 kB / 320.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.294e-05/0.1855, allocations: 130 kB / 320.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.1869, allocations: 0.9072 MB / 321.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.1983, allocations: 10.76 MB / 332.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1995, allocations: 1.101 MB / 333.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009075/0.2004, allocations: 0.7268 MB / 334.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.2005, allocations: 53.95 kB / 334.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2006, allocations: 54.7 kB / 334.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 4.168e-06/0.2006, allocations: 0 / 334.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006213/0.2068, allocations: 3.597 MB / 337.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2068, allocations: 85.16 kB / 338 MB, free: 14.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.2088, allocations: 1.782 MB / 339.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.2089, allocations: 53.7 kB / 339.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008314/0.2097, allocations: 1.64 MB / 341.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.2101, allocations: 0.6465 MB / 342.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/0.2105, allocations: 393 kB / 342.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.2106, allocations: 476.8 kB / 343 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.211, allocations: 243.8 kB / 343.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/0.2118, allocations: 0.8745 MB / 344.1 MB, free: 9.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.2131, allocations: 1.296 MB / 345.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.2131, allocations: 4 kB / 345.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002627/0.2157, allocations: 1.675 MB / 347 MB, free: 6.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2158, allocations: 8 kB / 347.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.2158, allocations: 16 kB / 347.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.2169, allocations: 0.5021 MB / 347.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.2178, allocations: 408.2 kB / 348 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005217/0.223, allocations: 10.04 MB / 358 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/0.224, allocations: 67.94 kB / 358.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.2241, allocations: 67.92 kB / 358.1 MB, free: 10.48 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.0007448/0.2248, allocations: 276.3 kB / 358.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/0.2252, allocations: 310.4 kB / 358.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.2271, allocations: 1.469 MB / 360.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2271, allocations: 19.98 kB / 360.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.2271, allocations: 11.56 kB / 360.2 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.2271, allocations: 7.969 kB / 360.2 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.2319, allocations: 3.488 MB / 363.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2319, allocations: 4.031 kB / 363.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.2325, allocations: 265.5 kB / 364 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.2338, allocations: 0.5538 MB / 364.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/0.2339, allocations: 43.97 kB / 364.6 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/0.2409, allocations: 13.53 MB / 378.1 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2409, allocations: 0 / 378.1 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.2439, allocations: 2.003 MB / 380.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007457/0.2446, allocations: 394.3 kB / 380.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.2448, allocations: 39.98 kB / 380.5 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.2454, allocations: 79.95 kB / 380.6 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.2457, allocations: 144.8 kB / 380.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.2457, allocations: 39.98 kB / 380.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008859/0.2466, allocations: 0.9545 MB / 381.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2466, allocations: 0 / 381.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001718/0.2483, allocations: 0.6875 MB / 382.4 MB, free: 1.766 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.0003705/0.2487, allocations: 210.9 kB / 382.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.2513, allocations: 2.066 MB / 384.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2513, allocations: 3.938 kB / 384.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.2528, allocations: 1.936 MB / 386.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.2546, allocations: 0.6329 MB / 387.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/0.2623, allocations: 5.601 MB / 392.9 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.2631, allocations: 0.9031 MB / 393.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009915/0.2641, allocations: 283.3 kB / 394.1 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.2652, allocations: 0.6619 MB / 394.7 MB, free: 5.359 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2652, allocations: 0 / 394.7 MB, free: 5.359 MB / 346.7 MB Notification: Performance of Templates: time 0.1622/0.4274, allocations: 42.5 MB / 437.2 MB, free: 116.7 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: 3.9046201379969716]