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.002327/0.002327, allocations: 87.67 kB / 20.96 MB, free: 3.449 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.002739/0.002739, allocations: 161.3 kB / 24.27 MB, free: 144 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.646/1.646, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|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.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|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.303e-06/1.303e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.041e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0167/0.01673, allocations: 11.67 MB / 284 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008777/0.02551, allocations: 3.771 MB / 287.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.02763, allocations: 95.38 kB / 287.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.0304, allocations: 0.8779 MB / 288.7 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.03477, allocations: 1.188 MB / 289.9 MB, free: 140 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1267/0.1615, allocations: 0.4949 MB / 290.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004902/0.1664, allocations: 4.385 MB / 294.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/0.169, allocations: 1.789 MB / 296.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005104/0.1741, allocations: 2.863 MB / 299.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004238/0.1783, allocations: 2.26 MB / 301.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.1796, allocations: 0.4951 MB / 302.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.1817, allocations: 0.5947 MB / 302.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.1832, allocations: 1.469 MB / 304.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002896/0.1861, allocations: 1.554 MB / 305.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00536/0.1914, allocations: 6.71 MB / 312.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1914, allocations: 0 / 312.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1914, allocations: 4.812 kB / 312.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.1916, allocations: 3.75 kB / 312.5 MB, free: 7.391 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.009018/0.2006, allocations: 4.898 MB / 317.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2006, allocations: 8.031 kB / 317.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.2023, allocations: 0.724 MB / 318.2 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005428/0.2077, allocations: 2.278 MB / 320.5 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.2079, allocations: 233.2 kB / 320.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008288/0.2088, allocations: 308.7 kB / 321 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009687/0.2185, allocations: 4.35 MB / 325.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.406e-05/0.2186, allocations: 11.95 kB / 325.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003448/0.2189, allocations: 127.1 kB / 325.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.2191, allocations: 137.9 kB / 325.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006685/0.2258, allocations: 2.983 MB / 328.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/0.2569, allocations: 16.46 MB / 345 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.2601, allocations: 1.604 MB / 346.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/0.2628, allocations: 1.182 MB / 347.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.2631, allocations: 60.94 kB / 347.9 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/0.2631, allocations: 54.7 kB / 347.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 3.807e-06/0.2631, allocations: 0 / 347.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.01579/0.2789, allocations: 5.819 MB / 353.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.279, allocations: 69.41 kB / 353.8 MB, free: 13.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/0.2833, allocations: 2.56 MB / 356.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.2835, allocations: 61.7 kB / 356.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.2851, allocations: 1.736 MB / 358.2 MB, free: 9.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009131/0.286, allocations: 0.6865 MB / 358.9 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000813/0.2868, allocations: 458.6 kB / 359.3 MB, free: 7.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.2871, allocations: 480.8 kB / 359.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.2885, allocations: 0.6558 MB / 360.4 MB, free: 6.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.2906, allocations: 1.36 MB / 361.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.2942, allocations: 2.183 MB / 364 MB, free: 2.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.2943, allocations: 4 kB / 364 MB, free: 2.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005931/0.3002, allocations: 2.618 MB / 366.6 MB, free: 272 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.3002, allocations: 8.5 kB / 366.6 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.3002, allocations: 12 kB / 366.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/0.3028, allocations: 0.6687 MB / 367.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.3046, allocations: 455.5 kB / 367.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.3173, allocations: 11.38 MB / 379.1 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.3194, allocations: 123.8 kB / 379.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.3196, allocations: 79.98 kB / 379.3 MB, free: 3.004 MB / 330.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.002043/0.3217, allocations: 0.8952 MB / 380.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007228/0.3224, allocations: 306.4 kB / 380.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005266/0.3277, allocations: 2.21 MB / 382.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.3277, allocations: 16 kB / 382.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.3277, allocations: 8 kB / 382.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.781e-05/0.3277, allocations: 11.97 kB / 382.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.3414, allocations: 5.755 MB / 388.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.3414, allocations: 3.984 kB / 388.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.3428, allocations: 297.6 kB / 388.8 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003151/0.346, allocations: 0.7671 MB / 389.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/0.3462, allocations: 39.98 kB / 389.6 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/0.3628, allocations: 15.11 MB / 404.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3628, allocations: 7.562 kB / 404.7 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007167/0.3699, allocations: 3.178 MB / 407.9 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/0.3717, allocations: 462.4 kB / 408.4 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/0.3722, allocations: 35.98 kB / 408.4 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.3735, allocations: 119.9 kB / 408.5 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000481/0.374, allocations: 161.7 kB / 408.7 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.3741, allocations: 51.55 kB / 408.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002753/0.3769, allocations: 1.503 MB / 410.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3769, allocations: 0 / 410.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003048/0.3799, allocations: 0.7069 MB / 410.9 MB, free: 2.445 MB / 362.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%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005408/0.3805, allocations: 208.9 kB / 411.1 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006035/0.3865, allocations: 2.895 MB / 414 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.3865, allocations: 3.75 kB / 414 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00438/0.3909, allocations: 2.388 MB / 416.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/0.3946, allocations: 0.6471 MB / 417.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.4071, allocations: 6.051 MB / 423.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/0.4096, allocations: 1.838 MB / 425 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001683/0.4113, allocations: 447.1 kB / 425.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.4118, allocations: 156.5 kB / 425.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4118, allocations: 4 kB / 425.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of Templates: time 0.1783/0.5902, allocations: 41.02 MB / 466.6 MB, free: 92.78 MB / 378.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.532337561948225]