Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.0008651/0.0008651, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001191/0.001191, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9517/0.9517, allocations: 173.4 MB / 201.2 MB, free: 9.344 MB / 186.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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.421e-05/3.628e-05, allocations: 2.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01308/0.01311, allocations: 9.599 MB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007575/0.02069, allocations: 3.51 MB / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.02171, allocations: 63.56 kB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.02304, allocations: 0.6519 MB / 281.9 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.02482, allocations: 0.912 MB / 282.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.02583, allocations: 475 kB / 283.2 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.02817, allocations: 2.731 MB / 286 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.02939, allocations: 1.077 MB / 287 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.03289, allocations: 2.011 MB / 289.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1245/0.1574, allocations: 1.33 MB / 290.4 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.1584, allocations: 296.2 kB / 290.7 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.1599, allocations: 0.5371 MB / 291.2 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008997/0.1608, allocations: 1.037 MB / 292.3 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.1629, allocations: 0.9686 MB / 293.2 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004071/0.1669, allocations: 2.452 MB / 295.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1669, allocations: 0.75 kB / 295.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.167, allocations: 2.5 kB / 295.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001499/0.1671, allocations: 0 / 295.7 MB, free: 17.61 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.006208/0.1733, allocations: 3.277 MB / 299 MB, free: 16.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1733, allocations: 10.33 kB / 299 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.1744, allocations: 0.4966 MB / 299.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.1765, allocations: 1.535 MB / 301 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-05/0.1766, allocations: 155.2 kB / 301.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.1768, allocations: 206 kB / 301.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.1793, allocations: 1.671 MB / 303 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/0.1794, allocations: 13.83 kB / 303 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.1795, allocations: 80.5 kB / 303.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/0.1796, allocations: 96.97 kB / 303.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.181, allocations: 0.7607 MB / 304 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006845/0.1878, allocations: 6.607 MB / 310.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.189, allocations: 0.7883 MB / 311.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007146/0.1897, allocations: 0.5803 MB / 311.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.1899, allocations: 52.67 kB / 312 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1899, allocations: 49.45 kB / 312 MB, free: 10.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.717e-06/0.1899, allocations: 5.828 kB / 312 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005891/0.1958, allocations: 3.562 MB / 315.6 MB, free: 8.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.1958, allocations: 72.56 kB / 315.7 MB, free: 8.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.1972, allocations: 1.567 MB / 317.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.1973, allocations: 49.7 kB / 317.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.1977, allocations: 1.241 MB / 318.5 MB, free: 5.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.198, allocations: 484.3 kB / 319 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.1982, allocations: 257.2 kB / 319.3 MB, free: 4.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.1983, allocations: 0.5394 MB / 319.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.1986, allocations: 239.8 kB / 320 MB, free: 3.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.199, allocations: 0.5866 MB / 320.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.1999, allocations: 0.9125 MB / 321.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1999, allocations: 4 kB / 321.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00185/0.2018, allocations: 1.477 MB / 323 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2018, allocations: 11.98 kB / 323 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2018, allocations: 8 kB / 323 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.2029, allocations: 0.5575 MB / 323.6 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.2035, allocations: 254.9 kB / 323.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005194/0.2087, allocations: 6.336 MB / 330.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/0.2095, allocations: 71.92 kB / 330.2 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-05/0.2096, allocations: 55.98 kB / 330.3 MB, free: 9.293 MB / 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%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007475/0.2103, allocations: 222.8 kB / 330.5 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.2106, allocations: 246.7 kB / 330.8 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.2126, allocations: 1.29 MB / 332 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.2126, allocations: 16 kB / 332.1 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.2126, allocations: 7.562 kB / 332.1 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2126, allocations: 7.969 kB / 332.1 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/0.2175, allocations: 3.175 MB / 335.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.2175, allocations: 8.031 kB / 335.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.218, allocations: 206.7 kB / 335.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.2191, allocations: 434.4 kB / 335.9 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/0.2191, allocations: 35.97 kB / 335.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/0.2241, allocations: 7.411 MB / 343.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2241, allocations: 0 / 343.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.2271, allocations: 1.755 MB / 345.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.2277, allocations: 322.7 kB / 345.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.2278, allocations: 24 kB / 345.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.2282, allocations: 75.92 kB / 345.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.2285, allocations: 120.5 kB / 345.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.2285, allocations: 39.97 kB / 345.7 MB, free: 9.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001144/0.2297, allocations: 0.9224 MB / 346.6 MB, free: 8.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2297, allocations: 0 / 346.6 MB, free: 8.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001574/0.2312, allocations: 0.5069 MB / 347.1 MB, free: 8.137 MB / 298.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.001048/0.2323, allocations: 458.5 kB / 347.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.2344, allocations: 1.463 MB / 349 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2344, allocations: 0 / 349 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.2356, allocations: 1.211 MB / 350.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.237, allocations: 390.3 kB / 350.6 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.2431, allocations: 4.235 MB / 354.8 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.2436, allocations: 0.6401 MB / 355.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007429/0.2444, allocations: 281.2 kB / 355.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.2446, allocations: 118.9 kB / 355.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2446, allocations: 0 / 355.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of Templates: time 0.03812/0.2827, allocations: 28.13 MB / 384 MB, free: 3.637 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.155815473292023]