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.001274/0.001274, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009897/0.0009897, allocations: 160.9 kB / 24.99 MB, free: 8.805 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 0.9596/0.9596, allocations: 177 MB / 205.2 MB, free: 5.59 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.382e-06/1.382e-06, allocations: 0 / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.416e-05, allocations: 2.312 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.008562/0.008586, allocations: 9.614 MB / 282.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00723/0.01582, allocations: 3.708 MB / 286.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.01755, allocations: 59.62 kB / 286.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.01936, allocations: 0.6713 MB / 287.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.0218, allocations: 0.951 MB / 288 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.02272, allocations: 471 kB / 288.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1319/0.1546, allocations: 2.766 MB / 291.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.1563, allocations: 1.073 MB / 292.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.1587, allocations: 1.779 MB / 294.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.1609, allocations: 1.413 MB / 295.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008291/0.1617, allocations: 306.6 kB / 295.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.1629, allocations: 0.5539 MB / 296.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009144/0.1638, allocations: 1.083 MB / 297.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.1656, allocations: 1.004 MB / 298.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.1686, allocations: 2.514 MB / 301 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1686, allocations: 0.9062 kB / 301 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1686, allocations: 3.281 kB / 301 MB, free: 14.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001192/0.1687, allocations: 0 / 301 MB, free: 14.62 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.004611/0.1734, allocations: 3.36 MB / 304.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1734, allocations: 12.58 kB / 304.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000957/0.1744, allocations: 0.5288 MB / 304.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.1763, allocations: 1.567 MB / 306.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.1763, allocations: 152.2 kB / 306.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.1765, allocations: 202 kB / 306.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.1787, allocations: 1.674 MB / 308.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.1787, allocations: 6.703 kB / 308.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.1789, allocations: 87.72 kB / 308.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.3e-05/0.1789, allocations: 94.02 kB / 308.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.1803, allocations: 0.7716 MB / 309.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007199/0.1875, allocations: 6.706 MB / 316.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.1888, allocations: 0.774 MB / 316.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007584/0.1895, allocations: 0.5765 MB / 317.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.1897, allocations: 51.48 kB / 317.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1897, allocations: 50.39 kB / 317.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.326e-06/0.1897, allocations: 3.938 kB / 317.6 MB, free: 3.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.00605/0.1958, allocations: 3.688 MB / 321.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1958, allocations: 64.72 kB / 321.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.1979, allocations: 1.659 MB / 323 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.1981, allocations: 45.7 kB / 323 MB, free: 13.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/0.1988, allocations: 1.251 MB / 324.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.1991, allocations: 487.1 kB / 324.8 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.1994, allocations: 246.3 kB / 325 MB, free: 11.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1995, allocations: 0.5355 MB / 325.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.2, allocations: 243.8 kB / 325.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.2006, allocations: 0.5893 MB / 326.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.2016, allocations: 0.9263 MB / 327.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.2016, allocations: 2.75 kB / 327.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002338/0.204, allocations: 1.516 MB / 328.8 MB, free: 7.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.204, allocations: 11.98 kB / 328.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.204, allocations: 11.94 kB / 328.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.2054, allocations: 0.5776 MB / 329.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.206, allocations: 259 kB / 329.7 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.2116, allocations: 6.444 MB / 336.1 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/0.2125, allocations: 95.83 kB / 336.2 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/0.2126, allocations: 55.97 kB / 336.3 MB, free: 280 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.0006235/0.2132, allocations: 234.9 kB / 336.5 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.2136, allocations: 242.8 kB / 336.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.2155, allocations: 1.324 MB / 338.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.2155, allocations: 16 kB / 338.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2155, allocations: 4 kB / 338.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.2155, allocations: 11.97 kB / 338.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/0.2199, allocations: 3.256 MB / 341.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.2199, allocations: 8.125 kB / 341.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.2205, allocations: 203.2 kB / 341.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.2217, allocations: 473.6 kB / 342 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.2218, allocations: 31.98 kB / 342 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005122/0.2269, allocations: 7.525 MB / 349.6 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2269, allocations: 0 / 349.6 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.2296, allocations: 1.801 MB / 351.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.2302, allocations: 349 kB / 351.7 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.2304, allocations: 27.98 kB / 351.7 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.2309, allocations: 75.92 kB / 351.8 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.2311, allocations: 108.8 kB / 351.9 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/0.2312, allocations: 39.97 kB / 352 MB, free: 192 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.2324, allocations: 0.9936 MB / 353 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2324, allocations: 0 / 353 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001571/0.234, allocations: 0.5195 MB / 353.5 MB, free: 14.68 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.00105/0.235, allocations: 446 kB / 353.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.2372, allocations: 1.52 MB / 355.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2372, allocations: 0 / 355.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.2387, allocations: 1.218 MB / 356.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.24, allocations: 419.5 kB / 357.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/0.2461, allocations: 4.279 MB / 361.3 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.2467, allocations: 0.6446 MB / 362 MB, free: 6.223 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008395/0.2475, allocations: 306.8 kB / 362.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.2478, allocations: 124.5 kB / 362.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of SimCode: time 2.114e-06/0.2478, allocations: 0 / 362.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of Templates: time 0.039/0.2868, allocations: 29.72 MB / 392.1 MB, free: 8.441 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.3224576350767165]