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.0009415/0.0009415, allocations: 95.5 kB / 21.2 MB, free: 3.359 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.0008803/0.0008803, allocations: 156.5 kB / 24.55 MB, free: 4 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 1.006/1.006, allocations: 177 MB / 204.9 MB, free: 5.594 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 3.517e-06/3.517e-06, allocations: 4 kB / 273 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.639e-05, allocations: 5.266 kB / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01329/0.01333, allocations: 9.662 MB / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008807/0.02214, allocations: 3.708 MB / 286.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.02429, allocations: 63.62 kB / 286.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.02679, allocations: 0.6674 MB / 287.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.03011, allocations: 0.9509 MB / 288 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009714/0.03108, allocations: 479 kB / 288.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1139/0.1449, allocations: 2.763 MB / 291.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.1468, allocations: 1.073 MB / 292.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.1497, allocations: 1.781 MB / 294.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.1523, allocations: 1.413 MB / 295.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009332/0.1532, allocations: 305.4 kB / 295.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.1546, allocations: 0.5536 MB / 296.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.1559, allocations: 1.081 MB / 297.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.1584, allocations: 1.006 MB / 298.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.1624, allocations: 2.516 MB / 301 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1624, allocations: 0 / 301 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1624, allocations: 1.406 kB / 301 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001397/0.1626, allocations: 0 / 301 MB, free: 14.36 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.005893/0.1685, allocations: 3.36 MB / 304.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1685, allocations: 13.77 kB / 304.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.1697, allocations: 0.5279 MB / 304.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.1719, allocations: 1.569 MB / 306.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.172, allocations: 150.1 kB / 306.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.1722, allocations: 208.3 kB / 306.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.1747, allocations: 1.672 MB / 308.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.959e-05/0.1747, allocations: 6.438 kB / 308.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.1749, allocations: 89.34 kB / 308.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.175, allocations: 98 kB / 308.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.1765, allocations: 0.763 MB / 309.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008028/0.1846, allocations: 6.709 MB / 316.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.1859, allocations: 0.7719 MB / 316.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.1867, allocations: 0.58 MB / 317.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.1869, allocations: 55.48 kB / 317.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1869, allocations: 46.95 kB / 317.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 4.218e-06/0.1869, allocations: 0 / 317.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.006094/0.193, allocations: 3.695 MB / 321.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.193, allocations: 64.72 kB / 321.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.1949, allocations: 1.655 MB / 323 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.195, allocations: 49.7 kB / 323 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/0.1956, allocations: 1.251 MB / 324.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.1959, allocations: 479 kB / 324.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.1962, allocations: 249.2 kB / 325 MB, free: 11.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1964, allocations: 0.5355 MB / 325.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.1968, allocations: 243.8 kB / 325.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.1974, allocations: 0.5892 MB / 326.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.1985, allocations: 0.9271 MB / 327.3 MB, free: 8.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.1985, allocations: 4 kB / 327.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002371/0.2009, allocations: 1.511 MB / 328.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2009, allocations: 11.94 kB / 328.8 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.2009, allocations: 11.94 kB / 328.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.2024, allocations: 0.5756 MB / 329.4 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.203, allocations: 266.5 kB / 329.7 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00569/0.2087, allocations: 6.439 MB / 336.1 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.2097, allocations: 95.8 kB / 336.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.2098, allocations: 51.97 kB / 336.2 MB, free: 15.87 MB / 298.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.0006969/0.2105, allocations: 234.1 kB / 336.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.2109, allocations: 246.8 kB / 336.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.2128, allocations: 1.33 MB / 338 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.2128, allocations: 12 kB / 338 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2128, allocations: 8 kB / 338.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.2128, allocations: 7.969 kB / 338.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/0.2177, allocations: 3.249 MB / 341.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.2177, allocations: 7.312 kB / 341.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.2182, allocations: 214.4 kB / 341.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.2193, allocations: 471.5 kB / 342 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.2194, allocations: 27.98 kB / 342 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/0.2242, allocations: 7.533 MB / 349.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2242, allocations: 0 / 349.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.227, allocations: 1.794 MB / 351.3 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/0.2276, allocations: 345.6 kB / 351.7 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.2278, allocations: 31.98 kB / 351.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.2283, allocations: 79.39 kB / 351.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.2285, allocations: 112.8 kB / 351.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.2286, allocations: 39.98 kB / 351.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.2297, allocations: 0.9897 MB / 352.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2297, allocations: 0 / 352.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001434/0.2312, allocations: 0.5156 MB / 353.4 MB, free: 14.29 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.001007/0.2322, allocations: 451.1 kB / 353.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.2343, allocations: 1.527 MB / 355.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2343, allocations: 1.25 kB / 355.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.2356, allocations: 1.216 MB / 356.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.2369, allocations: 409.3 kB / 357 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.2426, allocations: 4.276 MB / 361.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.2431, allocations: 0.6485 MB / 362 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000711/0.2438, allocations: 298.8 kB / 362.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.2441, allocations: 124.5 kB / 362.4 MB, free: 5.395 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2441, allocations: 0 / 362.4 MB, free: 5.395 MB / 314.7 MB Notification: Performance of Templates: time 0.03833/0.2824, allocations: 29.72 MB / 392.1 MB, free: 8.035 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.411952021066099]