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.00112/0.00112, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001267/0.001267, allocations: 170.1 kB / 24.91 MB, free: 8.758 MB / 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.9474/0.9474, allocations: 177 MB / 205.2 MB, free: 5.445 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.473e-06/1.473e-06, allocations: 0 / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.651e-05, allocations: 6.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008839/0.008856, allocations: 11.46 MB / 284.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006195/0.01505, allocations: 3.902 MB / 288.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.01629, allocations: 95.38 kB / 288.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.01783, allocations: 0.8896 MB / 289.7 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1055/0.1233, allocations: 1.188 MB / 290.9 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1245, allocations: 0.5029 MB / 291.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004012/0.1285, allocations: 4.414 MB / 295.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.1305, allocations: 1.836 MB / 297.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00423/0.1347, allocations: 3.083 MB / 300.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.1378, allocations: 2.179 MB / 302.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009241/0.1387, allocations: 492.9 kB / 303.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009955/0.1397, allocations: 0.5787 MB / 304 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007321/0.1404, allocations: 1.409 MB / 305.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.1418, allocations: 1.523 MB / 306.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.1442, allocations: 3.577 MB / 310.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1442, allocations: 0 / 310.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1442, allocations: 0 / 310.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.141e-05/0.1443, allocations: 3.656 kB / 310.5 MB, free: 9.852 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.003674/0.1479, allocations: 4.003 MB / 314.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.148, allocations: 11.98 kB / 314.5 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008083/0.1488, allocations: 0.5858 MB / 315.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.1504, allocations: 1.569 MB / 316.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/0.1505, allocations: 230.5 kB / 316.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.1507, allocations: 311.8 kB / 317.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.1527, allocations: 2.493 MB / 319.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.1528, allocations: 10.58 kB / 319.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.153, allocations: 120 kB / 319.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/0.153, allocations: 134 kB / 320 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.1543, allocations: 0.935 MB / 320.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008785/0.1631, allocations: 8.491 MB / 329.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1642, allocations: 1.064 MB / 330.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.165, allocations: 0.6808 MB / 331.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.1651, allocations: 54.23 kB / 331.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1652, allocations: 62.61 kB / 331.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 4.208e-06/0.1652, allocations: 0 / 331.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006205/0.1714, allocations: 3.539 MB / 334.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1714, allocations: 69.41 kB / 334.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.1725, allocations: 1.464 MB / 336.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.382e-05/0.1726, allocations: 61.69 kB / 336.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005811/0.1732, allocations: 1.216 MB / 337.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.1735, allocations: 0.6259 MB / 338.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.1739, allocations: 340.1 kB / 338.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.1739, allocations: 301.1 kB / 338.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.1743, allocations: 242.7 kB / 339.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.1748, allocations: 0.6571 MB / 339.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.1758, allocations: 1.132 MB / 340.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.1758, allocations: 4 kB / 340.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001688/0.1775, allocations: 1.373 MB / 342.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1775, allocations: 12 kB / 342.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1775, allocations: 12 kB / 342.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.1786, allocations: 491.6 kB / 342.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008279/0.1794, allocations: 415.4 kB / 343.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.1835, allocations: 7.247 MB / 350.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.1842, allocations: 67.97 kB / 350.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/0.1842, allocations: 60 kB / 350.5 MB, free: 2.41 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.0005736/0.1848, allocations: 240.7 kB / 350.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.1851, allocations: 203.8 kB / 351 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.1867, allocations: 1.264 MB / 352.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.1867, allocations: 16 kB / 352.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1867, allocations: 8 kB / 352.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.1867, allocations: 7.969 kB / 352.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.1905, allocations: 2.98 MB / 355.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1905, allocations: 4 kB / 355.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.1911, allocations: 257.5 kB / 355.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.1923, allocations: 0.6312 MB / 356.1 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/0.1924, allocations: 35.98 kB / 356.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005225/0.1976, allocations: 9.685 MB / 365.9 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1977, allocations: 4 kB / 365.9 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.1997, allocations: 1.708 MB / 367.6 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.2002, allocations: 321 kB / 367.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.2003, allocations: 36 kB / 367.9 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.2008, allocations: 79.95 kB / 368 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.2011, allocations: 145.1 kB / 368.1 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.2011, allocations: 32 kB / 368.2 MB, free: 428 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006288/0.2018, allocations: 0.7526 MB / 368.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2018, allocations: 0 / 368.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001321/0.2031, allocations: 0.6953 MB / 369.6 MB, free: 15.03 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.0002787/0.2034, allocations: 185.5 kB / 369.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.205, allocations: 1.68 MB / 371.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.861e-05/0.205, allocations: 25.81 kB / 371.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.2064, allocations: 1.495 MB / 373 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.2077, allocations: 0.6396 MB / 373.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.2137, allocations: 5.392 MB / 379 MB, free: 5.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.2146, allocations: 0.7626 MB / 379.8 MB, free: 4.816 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006706/0.2153, allocations: 291.4 kB / 380.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000989/0.2162, allocations: 0.581 MB / 380.7 MB, free: 3.941 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2162, allocations: 0 / 380.7 MB, free: 3.941 MB / 330.7 MB Notification: Performance of Templates: time 0.04893/0.2652, allocations: 42.24 MB / 422.9 MB, free: 10.28 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: 3.779674008022994]