Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002757, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002238, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.03/1.03, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09166/1.121, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.637e-06/3.637e-06, allocations: 4 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.181e-05, allocations: 6.875 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01044/0.01047, allocations: 11.49 MB / 251.1 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007533/0.018, allocations: 3.847 MB / 254.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.02033, allocations: 91.38 kB / 255 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.02293, allocations: 0.8888 MB / 255.9 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.0266, allocations: 1.176 MB / 257.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.02786, allocations: 0.4914 MB / 257.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005616/0.03348, allocations: 4.376 MB / 261.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.03594, allocations: 1.849 MB / 263.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005598/0.04153, allocations: 3.306 MB / 267.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003451/0.04498, allocations: 2.171 MB / 269.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.04619, allocations: 492 kB / 269.7 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.04773, allocations: 0.574 MB / 270.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009311/0.04866, allocations: 1.153 MB / 271.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.0504, allocations: 1.248 MB / 272.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1337/0.1841, allocations: 3.339 MB / 276.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.541e-05/0.1841, allocations: 2.375 kB / 276.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1841, allocations: 0 / 276.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002181/0.1843, allocations: 0 / 276.1 MB, free: 10.87 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.009283/0.1936, allocations: 4.743 MB / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1936, allocations: 10.19 kB / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.195, allocations: 0.6283 MB / 281.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.198, allocations: 1.544 MB / 283 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.1982, allocations: 231.5 kB / 283.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003941/0.1986, allocations: 315.7 kB / 283.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.2022, allocations: 2.493 MB / 286 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-05/0.2023, allocations: 6.469 kB / 286 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.2025, allocations: 121.7 kB / 286.1 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.2027, allocations: 136.7 kB / 286.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.2047, allocations: 0.9366 MB / 287.2 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.2159, allocations: 8.53 MB / 295.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.2169, allocations: 1.083 MB / 296.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/0.2177, allocations: 0.6786 MB / 297.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.2179, allocations: 58.09 kB / 297.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2179, allocations: 52.81 kB / 297.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=164): time 4.448e-06/0.2179, allocations: 0 / 297.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=180): time 0.006785/0.2247, allocations: 3.541 MB / 301.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.2247, allocations: 73.41 kB / 301.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2259, allocations: 1.448 MB / 302.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.491e-05/0.226, allocations: 57.7 kB / 302.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.2263, allocations: 1.206 MB / 303.9 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.2266, allocations: 0.6267 MB / 304.5 MB, free: 220 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.227, allocations: 348.2 kB / 304.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.2271, allocations: 301.1 kB / 305.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.2275, allocations: 250.7 kB / 305.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.228, allocations: 0.6536 MB / 306.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.2291, allocations: 1.115 MB / 307.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.2291, allocations: 4 kB / 307.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001964/0.2311, allocations: 1.366 MB / 308.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.2311, allocations: 12 kB / 308.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.2311, allocations: 12.5 kB / 308.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.2323, allocations: 496.2 kB / 309.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.2336, allocations: 0.6028 MB / 309.7 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004845/0.2385, allocations: 7.267 MB / 316.9 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.2399, allocations: 67.97 kB / 317 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.24, allocations: 63.98 kB / 317.1 MB, free: 3.242 MB / 282.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.001105/0.2411, allocations: 239.8 kB / 317.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.2415, allocations: 199.8 kB / 317.5 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.2432, allocations: 1.262 MB / 318.8 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.2433, allocations: 20 kB / 318.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.2433, allocations: 8 kB / 318.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.2433, allocations: 7.969 kB / 318.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004492/0.2478, allocations: 2.975 MB / 321.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2478, allocations: 0 / 321.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.2488, allocations: 475.3 kB / 322.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/0.2495, allocations: 310.3 kB / 322.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.2507, allocations: 0.5575 MB / 323.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/0.2508, allocations: 39.98 kB / 323.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/0.2561, allocations: 9.714 MB / 332.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2561, allocations: 0 / 332.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.2586, allocations: 1.71 MB / 334.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/0.259, allocations: 39.98 kB / 334.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/0.2597, allocations: 75.97 kB / 334.7 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/0.26, allocations: 145 kB / 334.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.26, allocations: 35.98 kB / 334.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008229/0.2609, allocations: 0.7439 MB / 335.6 MB, free: 436 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2609, allocations: 0 / 335.6 MB, free: 436 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.001937/0.2628, allocations: 0.6914 MB / 336.3 MB, free: 15.73 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.0003505/0.2631, allocations: 188.3 kB / 336.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.2652, allocations: 1.692 MB / 338.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-05/0.2653, allocations: 49.31 kB / 338.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.2666, allocations: 1.487 MB / 339.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.2685, allocations: 0.7973 MB / 340.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/0.292, allocations: 5.579 MB / 346.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/0.2929, allocations: 0.7719 MB / 346.8 MB, free: 5.113 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001232/0.2941, allocations: 287.3 kB / 347.1 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/0.2954, allocations: 0.581 MB / 347.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of SimCode: time 1.894e-06/0.2954, allocations: 0 / 347.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of Templates: time 0.06293/0.3583, allocations: 44.17 MB / 391.9 MB, free: 8.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7308029141277075]