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.0009287/0.0009287, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009089/0.0009089, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9483/0.9483, allocations: 177 MB / 204.8 MB, free: 5.609 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 2.154e-06/2.154e-06, allocations: 0 / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.341e-05, allocations: 6.312 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.008762/0.008796, allocations: 9.661 MB / 282.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00605/0.01485, allocations: 3.708 MB / 286.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.01618, allocations: 59.62 kB / 286.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.01793, allocations: 0.6674 MB / 287.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.02045, allocations: 0.9625 MB / 288 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.02147, allocations: 479 kB / 288.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1069/0.1283, allocations: 2.756 MB / 291.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.1298, allocations: 1.075 MB / 292.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.1328, allocations: 2.015 MB / 294.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.1346, allocations: 1.342 MB / 295.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000596/0.1352, allocations: 297.3 kB / 296 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1362, allocations: 0.548 MB / 296.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007334/0.137, allocations: 1.036 MB / 297.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.138, allocations: 0.9701 MB / 298.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.1404, allocations: 2.471 MB / 301 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1404, allocations: 5.594 kB / 301 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1404, allocations: 1.953 kB / 301 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.522e-05/0.1405, allocations: 1.406 kB / 301 MB, free: 14.4 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.003586/0.1441, allocations: 3.303 MB / 304.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1441, allocations: 15.92 kB / 304.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.1449, allocations: 0.5242 MB / 304.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1465, allocations: 1.577 MB / 306.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.1465, allocations: 150.9 kB / 306.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.1467, allocations: 203.8 kB / 306.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.1488, allocations: 1.664 MB / 308.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.1488, allocations: 5.375 kB / 308.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.1489, allocations: 90.36 kB / 308.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.588e-05/0.149, allocations: 97.94 kB / 308.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.1503, allocations: 0.7545 MB / 309.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006333/0.1566, allocations: 6.622 MB / 316 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.1578, allocations: 0.7923 MB / 316.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.1585, allocations: 0.5735 MB / 317.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.1587, allocations: 56.91 kB / 317.4 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1587, allocations: 46.39 kB / 317.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.026e-06/0.1587, allocations: 0 / 317.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005461/0.1642, allocations: 3.587 MB / 321 MB, free: 15.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1642, allocations: 64.72 kB / 321.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.1661, allocations: 1.6 MB / 322.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.618e-05/0.1662, allocations: 45.7 kB / 322.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/0.1668, allocations: 1.254 MB / 324 MB, free: 12.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.1671, allocations: 477.8 kB / 324.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.1674, allocations: 250.9 kB / 324.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1675, allocations: 0.5355 MB / 325.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.168, allocations: 243.8 kB / 325.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.1685, allocations: 0.5897 MB / 326.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/0.1695, allocations: 0.9244 MB / 327 MB, free: 9.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.1695, allocations: 4 kB / 327 MB, free: 9.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002111/0.1716, allocations: 1.479 MB / 328.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1716, allocations: 8.625 kB / 328.5 MB, free: 7.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1716, allocations: 4 kB / 328.5 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.1729, allocations: 0.5538 MB / 329.1 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.1735, allocations: 260.7 kB / 329.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/0.1788, allocations: 6.326 MB / 335.6 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.1796, allocations: 75.92 kB / 335.7 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.1797, allocations: 55.97 kB / 335.8 MB, free: 368 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%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006308/0.1803, allocations: 230.2 kB / 336 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/0.1806, allocations: 250.6 kB / 336.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.1826, allocations: 1.286 MB / 337.5 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.1826, allocations: 15.98 kB / 337.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1827, allocations: 8 kB / 337.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1827, allocations: 3.984 kB / 337.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.1868, allocations: 3.191 MB / 340.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1868, allocations: 0 / 340.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.1874, allocations: 206.8 kB / 340.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009415/0.1883, allocations: 430.1 kB / 341.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.994e-05/0.1884, allocations: 27.98 kB / 341.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/0.1935, allocations: 7.428 MB / 348.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1935, allocations: 4 kB / 348.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.1961, allocations: 1.763 MB / 350.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.1966, allocations: 322.5 kB / 350.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.1968, allocations: 35.92 kB / 350.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.1972, allocations: 63.94 kB / 351 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.1974, allocations: 120.7 kB / 351.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.1975, allocations: 35.98 kB / 351.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001322/0.1988, allocations: 0.9389 MB / 352.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1988, allocations: 0 / 352.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001415/0.2002, allocations: 0.5038 MB / 352.6 MB, free: 15.15 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.001036/0.2013, allocations: 447 kB / 353 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.2033, allocations: 1.475 MB / 354.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2033, allocations: 0 / 354.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.2045, allocations: 1.193 MB / 355.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.2057, allocations: 399 kB / 356.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.2115, allocations: 4.26 MB / 360.3 MB, free: 7.469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.212, allocations: 0.6402 MB / 361 MB, free: 6.797 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006706/0.2127, allocations: 288.8 kB / 361.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.2129, allocations: 112.5 kB / 361.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2129, allocations: 0 / 361.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of Templates: time 0.03458/0.2475, allocations: 28.23 MB / 389.6 MB, free: 10.54 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.104477156884968]