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.0009722/0.0009722, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001084/0.001084, allocations: 166.5 kB / 24.91 MB, free: 9.188 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 0.9871/0.9871, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.263e-06/1.263e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.353e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.009164/0.009188, allocations: 11.49 MB / 285 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.01639, allocations: 3.898 MB / 288.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.01818, allocations: 95.44 kB / 289 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.01994, allocations: 0.9013 MB / 289.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1131/0.1331, allocations: 1.187 MB / 291.1 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1344, allocations: 0.4965 MB / 291.6 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004642/0.139, allocations: 4.39 MB / 296 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/0.1419, allocations: 1.842 MB / 297.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005095/0.147, allocations: 3.063 MB / 300.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003591/0.1506, allocations: 2.174 MB / 303 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001384/0.152, allocations: 493.6 kB / 303.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.1535, allocations: 0.5833 MB / 304.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.1546, allocations: 1.418 MB / 305.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.1562, allocations: 1.518 MB / 307 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.1589, allocations: 3.576 MB / 310.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1589, allocations: 3.75 kB / 310.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1589, allocations: 0 / 310.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.432e-05/0.1589, allocations: 0 / 310.6 MB, free: 9.883 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.003643/0.1626, allocations: 3.995 MB / 314.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1626, allocations: 8.031 kB / 314.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.1635, allocations: 0.5907 MB / 315.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.1651, allocations: 1.556 MB / 316.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.1651, allocations: 226.5 kB / 317 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.1654, allocations: 312.3 kB / 317.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.1674, allocations: 2.498 MB / 319.8 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.1675, allocations: 11.08 kB / 319.8 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.1677, allocations: 124 kB / 319.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.108e-05/0.1677, allocations: 138.2 kB / 320.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.169, allocations: 0.9277 MB / 321 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008895/0.1778, allocations: 8.471 MB / 329.5 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1789, allocations: 1.091 MB / 330.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/0.1797, allocations: 0.6744 MB / 331.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.1799, allocations: 61.3 kB / 331.3 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1799, allocations: 51.88 kB / 331.3 MB, free: 5.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.276e-06/0.1799, allocations: 0 / 331.3 MB, free: 5.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006331/0.1862, allocations: 3.556 MB / 334.9 MB, free: 2.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1863, allocations: 72.78 kB / 335 MB, free: 2.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.1874, allocations: 1.46 MB / 336.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/0.1875, allocations: 57.7 kB / 336.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.188, allocations: 1.22 MB / 337.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.1883, allocations: 0.6226 MB / 338.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.1887, allocations: 340 kB / 338.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.1887, allocations: 309.1 kB / 339 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.1891, allocations: 238.7 kB / 339.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/0.1898, allocations: 0.6544 MB / 339.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1909, allocations: 1.126 MB / 341 MB, free: 12.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.1909, allocations: 4 kB / 341 MB, free: 12.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0018/0.1927, allocations: 1.362 MB / 342.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1927, allocations: 12 kB / 342.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.1927, allocations: 12 kB / 342.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.1938, allocations: 491.4 kB / 342.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.1949, allocations: 0.5775 MB / 343.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/0.1994, allocations: 7.259 MB / 350.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.2003, allocations: 67.97 kB / 350.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.2004, allocations: 60 kB / 350.8 MB, free: 2.293 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.0006774/0.2011, allocations: 244.5 kB / 351 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.2014, allocations: 211.7 kB / 351.2 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.203, allocations: 1.256 MB / 352.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.203, allocations: 20 kB / 352.5 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.203, allocations: 4 kB / 352.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.203, allocations: 11.97 kB / 352.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/0.2072, allocations: 2.975 MB / 355.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.2072, allocations: 4 kB / 355.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/0.2082, allocations: 470.1 kB / 356 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2093, allocations: 0.5402 MB / 356.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-05/0.2094, allocations: 43.92 kB / 356.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005358/0.2147, allocations: 9.712 MB / 366.3 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2147, allocations: 0 / 366.3 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.217, allocations: 1.718 MB / 368 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006128/0.2176, allocations: 306.4 kB / 368.3 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.2178, allocations: 39.98 kB / 368.3 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.2183, allocations: 71.95 kB / 368.4 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005229/0.2188, allocations: 145.2 kB / 368.5 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.2189, allocations: 35.98 kB / 368.6 MB, free: 160 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007561/0.2196, allocations: 0.7544 MB / 369.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2196, allocations: 0 / 369.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001719/0.2214, allocations: 0.6914 MB / 370 MB, free: 14.77 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.0003252/0.2217, allocations: 186.2 kB / 370.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.2236, allocations: 1.684 MB / 371.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-05/0.2236, allocations: 25.81 kB / 371.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.225, allocations: 1.495 MB / 373.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.2266, allocations: 0.6308 MB / 374 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/0.2342, allocations: 5.389 MB / 379.4 MB, free: 5.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/0.235, allocations: 0.7665 MB / 380.2 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009682/0.2359, allocations: 287.4 kB / 380.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.237, allocations: 0.5849 MB / 381.1 MB, free: 3.688 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.237, allocations: 4 kB / 381.1 MB, free: 3.684 MB / 330.7 MB Notification: Performance of Templates: time 0.05236/0.2893, allocations: 42.42 MB / 423.5 MB, free: 9.918 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 -s gbode -gbm=radauIIA3 -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.9410235472023487]