Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001158/0.001158, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001812/0.001812, allocations: 161 kB / 24.56 MB, free: 16 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 0.9861/0.9861, allocations: 177.1 MB / 205 MB, free: 5.617 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.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.439e-05, allocations: 2.312 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01153/0.01156, allocations: 9.657 MB / 282.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007176/0.01874, allocations: 3.712 MB / 286.4 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.02067, allocations: 59.62 kB / 286.4 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.02271, allocations: 0.6636 MB / 287.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.02534, allocations: 0.9548 MB / 288.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.02642, allocations: 478.8 kB / 288.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1523/0.1787, allocations: 2.749 MB / 291.3 MB, free: 16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.1805, allocations: 1.075 MB / 292.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.1833, allocations: 1.774 MB / 294.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.1858, allocations: 1.414 MB / 295.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.1868, allocations: 304 kB / 295.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.1884, allocations: 0.553 MB / 296.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.1895, allocations: 1.085 MB / 297.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.1919, allocations: 1.006 MB / 298.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.196, allocations: 2.513 MB / 301 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.196, allocations: 0 / 301 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.196, allocations: 1.938 kB / 301 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.1961, allocations: 0.5312 kB / 301 MB, free: 14.68 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005134/0.2013, allocations: 3.35 MB / 304.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2013, allocations: 10.69 kB / 304.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2023, allocations: 0.534 MB / 304.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.2043, allocations: 1.559 MB / 306.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.2044, allocations: 145 kB / 306.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.2046, allocations: 212.7 kB / 306.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.2068, allocations: 1.678 MB / 308.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.2068, allocations: 7.703 kB / 308.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.207, allocations: 81.72 kB / 308.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.81e-05/0.2071, allocations: 99.61 kB / 308.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.2084, allocations: 0.7609 MB / 309.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007244/0.2156, allocations: 6.7 MB / 316.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.2168, allocations: 0.7861 MB / 316.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.2176, allocations: 0.5724 MB / 317.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.2178, allocations: 48.97 kB / 317.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2178, allocations: 55.83 kB / 317.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 6.071e-06/0.2178, allocations: 0 / 317.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005801/0.2236, allocations: 3.689 MB / 321.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.2236, allocations: 68.28 kB / 321.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.2253, allocations: 1.655 MB / 323 MB, free: 13.85 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.2254, allocations: 49.7 kB / 323 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006675/0.2261, allocations: 1.246 MB / 324.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.2264, allocations: 481.7 kB / 324.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.2266, allocations: 241.2 kB / 325 MB, free: 11.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2268, allocations: 0.5433 MB / 325.5 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.2272, allocations: 247.8 kB / 325.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.2278, allocations: 0.588 MB / 326.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.2289, allocations: 0.923 MB / 327.3 MB, free: 9.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.2289, allocations: 4 kB / 327.3 MB, free: 9.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002303/0.2312, allocations: 1.521 MB / 328.8 MB, free: 7.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.2312, allocations: 11.94 kB / 328.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.2312, allocations: 4 kB / 328.8 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.2327, allocations: 0.5804 MB / 329.4 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.2333, allocations: 268.3 kB / 329.7 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006211/0.2395, allocations: 6.437 MB / 336.1 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.2407, allocations: 87.89 kB / 336.2 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.2408, allocations: 55.28 kB / 336.2 MB, free: 224 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.2418, allocations: 234.4 kB / 336.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.2422, allocations: 245.9 kB / 336.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.2443, allocations: 1.322 MB / 338 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.2443, allocations: 20 kB / 338.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2443, allocations: 4 kB / 338.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2443, allocations: 7.984 kB / 338.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004961/0.2493, allocations: 3.26 MB / 341.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2493, allocations: 4 kB / 341.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.2498, allocations: 210.8 kB / 341.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.2509, allocations: 460.9 kB / 342 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-05/0.251, allocations: 39.97 kB / 342 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004942/0.2559, allocations: 7.525 MB / 349.6 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2559, allocations: 4.031 kB / 349.6 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.2587, allocations: 1.805 MB / 351.4 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.2593, allocations: 342.5 kB / 351.7 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.2595, allocations: 31.98 kB / 351.7 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.26, allocations: 71.92 kB / 351.8 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.2602, allocations: 112.2 kB / 351.9 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.2602, allocations: 35.98 kB / 351.9 MB, free: 136 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.2615, allocations: 0.9895 MB / 352.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2615, allocations: 4 kB / 352.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001598/0.2631, allocations: 0.5224 MB / 353.5 MB, free: 14.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/0.2641, allocations: 452.3 kB / 353.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.2663, allocations: 1.523 MB / 355.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.2663, allocations: 0 / 355.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.2675, allocations: 1.218 MB / 356.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2687, allocations: 419.6 kB / 357.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/0.2749, allocations: 4.267 MB / 361.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.2756, allocations: 0.6485 MB / 362 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000806/0.2764, allocations: 298.8 kB / 362.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.2767, allocations: 132.5 kB / 362.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of SimCode: time 2.745e-06/0.2767, allocations: 0 / 362.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of Templates: time 0.03957/0.3162, allocations: 29.72 MB / 392.1 MB, free: 8.391 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.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: 4.547703381162137]