Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001149/0.001149, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001892/0.001892, allocations: 164.9 kB / 24.82 MB, free: 9.277 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 1.009/1.009, allocations: 177 MB / 205.1 MB, free: 5.48 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.918e-05, allocations: 5.266 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01171/0.01174, allocations: 9.4 MB / 282.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005439/0.01718, allocations: 3.677 MB / 286.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.01784, allocations: 67.56 kB / 286.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.01901, allocations: 0.6675 MB / 287.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.02029, allocations: 0.9548 MB / 288.1 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.02089, allocations: 486.8 kB / 288.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1247/0.1456, allocations: 2.758 MB / 291.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.1472, allocations: 1.076 MB / 292.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.1503, allocations: 2.011 MB / 294.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.1527, allocations: 1.353 MB / 295.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.1537, allocations: 295.9 kB / 296.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.1552, allocations: 0.5461 MB / 296.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009615/0.1562, allocations: 1.039 MB / 297.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.1581, allocations: 0.9704 MB / 298.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.1623, allocations: 2.471 MB / 301.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1623, allocations: 0 / 301.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1623, allocations: 1.094 kB / 301.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001511/0.1624, allocations: 0 / 301.1 MB, free: 14.71 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.006674/0.1691, allocations: 3.248 MB / 304.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1692, allocations: 12.45 kB / 304.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.1702, allocations: 0.5298 MB / 304.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.1722, allocations: 1.5 MB / 306.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.1723, allocations: 152.3 kB / 306.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.1726, allocations: 204.9 kB / 306.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.1747, allocations: 1.537 MB / 308.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.1748, allocations: 9.625 kB / 308.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.1749, allocations: 84.03 kB / 308.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.913e-05/0.175, allocations: 98.77 kB / 308.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.176, allocations: 0.6023 MB / 309.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007229/0.1833, allocations: 6.079 MB / 315.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1844, allocations: 0.7181 MB / 315.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.185, allocations: 0.5158 MB / 316.4 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.1852, allocations: 54.78 kB / 316.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1852, allocations: 50.39 kB / 316.5 MB, free: 4.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.377e-06/0.1852, allocations: 0 / 316.5 MB, free: 4.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004801/0.19, allocations: 2.897 MB / 319.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.19, allocations: 64.72 kB / 319.5 MB, free: 1.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.1912, allocations: 1.55 MB / 321 MB, free: 400 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.1913, allocations: 45.7 kB / 321.1 MB, free: 348 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/0.192, allocations: 1.293 MB / 322.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.1923, allocations: 489.9 kB / 322.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.1926, allocations: 247.5 kB / 323.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1927, allocations: 0.55 MB / 323.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.193, allocations: 183.8 kB / 323.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.1935, allocations: 0.5379 MB / 324.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/0.1943, allocations: 0.8134 MB / 325.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1943, allocations: 0 / 325.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001819/0.1961, allocations: 1.332 MB / 326.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1961, allocations: 8.625 kB / 326.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.1961, allocations: 8 kB / 326.5 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.1973, allocations: 0.53 MB / 327 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.1979, allocations: 242 kB / 327.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.2027, allocations: 6.003 MB / 333.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009911/0.2037, allocations: 42.56 kB / 333.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.2038, allocations: 43.98 kB / 333.4 MB, free: 4.027 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.0007865/0.2046, allocations: 226.3 kB / 333.6 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.2049, allocations: 250.7 kB / 333.8 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.2064, allocations: 1.171 MB / 335 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.2064, allocations: 16 kB / 335 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.2064, allocations: 7.984 kB / 335 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2064, allocations: 3.984 kB / 335 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.2103, allocations: 2.624 MB / 337.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.2103, allocations: 8.156 kB / 337.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.2108, allocations: 178.6 kB / 337.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008772/0.2117, allocations: 414.5 kB / 338.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/0.2117, allocations: 31.98 kB / 338.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/0.2163, allocations: 7.217 MB / 345.5 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2163, allocations: 0 / 345.5 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.2186, allocations: 1.595 MB / 347.1 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.2193, allocations: 297.7 kB / 347.4 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.2195, allocations: 24 kB / 347.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.2199, allocations: 51.91 kB / 347.4 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.2201, allocations: 109.2 kB / 347.5 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.2202, allocations: 27.98 kB / 347.6 MB, free: 5.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.2213, allocations: 0.8624 MB / 348.4 MB, free: 4.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2213, allocations: 0 / 348.4 MB, free: 4.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00158/0.2229, allocations: 0.4999 MB / 348.9 MB, free: 4.457 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.001103/0.224, allocations: 450.7 kB / 349.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.2258, allocations: 1.361 MB / 350.7 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.2258, allocations: 0 / 350.7 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.2271, allocations: 1.127 MB / 351.9 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.2285, allocations: 406 kB / 352.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.234, allocations: 4.201 MB / 356.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.2345, allocations: 0.6402 MB / 357.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005627/0.2351, allocations: 205.3 kB / 357.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006224/0.2357, allocations: 437.9 kB / 357.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2357, allocations: 0 / 357.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of Templates: time 0.03941/0.2751, allocations: 28.71 MB / 386.4 MB, free: 15.47 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.054297791328281]