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.002215/0.002215, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002019/0.002019, allocations: 164.8 kB / 24.27 MB, free: 152 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.609/1.609, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.793e-06/1.793e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.183e-05, allocations: 5.125 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01411/0.01414, allocations: 9.576 MB / 281.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008091/0.02224, allocations: 3.677 MB / 285.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.02382, allocations: 59.62 kB / 285.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.02593, allocations: 0.6714 MB / 286.2 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.02891, allocations: 0.9471 MB / 287.2 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.03014, allocations: 486.8 kB / 287.6 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1195/0.1496, allocations: 2.753 MB / 290.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.1513, allocations: 1.074 MB / 291.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.1541, allocations: 1.778 MB / 293.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.1564, allocations: 1.41 MB / 294.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005755/0.157, allocations: 305.2 kB / 295 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.1582, allocations: 0.551 MB / 295.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.1593, allocations: 1.082 MB / 296.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.1607, allocations: 1.007 MB / 297.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004382/0.1651, allocations: 4.368 MB / 302 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1651, allocations: 0 / 302 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1651, allocations: 2.844 kB / 302 MB, free: 14.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000118/0.1652, allocations: 0 / 302 MB, free: 14.14 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.006866/0.1721, allocations: 3.564 MB / 305.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1721, allocations: 14.61 kB / 305.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.1735, allocations: 0.5299 MB / 306.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.1763, allocations: 1.581 MB / 307.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/0.1764, allocations: 155.2 kB / 307.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.1767, allocations: 207.6 kB / 308 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/0.1805, allocations: 2.561 MB / 310.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.1805, allocations: 15.3 kB / 310.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.1807, allocations: 80.47 kB / 310.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1808, allocations: 104.1 kB / 310.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.1837, allocations: 1.706 MB / 312.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.1988, allocations: 9.293 MB / 321.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.2018, allocations: 0.9644 MB / 322.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.2037, allocations: 0.7435 MB / 323.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.204, allocations: 48.97 kB / 323.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.204, allocations: 58.38 kB / 323.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 1.324e-05/0.204, allocations: 0 / 323.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01332/0.2174, allocations: 4.354 MB / 327.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.2174, allocations: 64.72 kB / 328 MB, free: 7.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.2211, allocations: 2.061 MB / 330.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.2213, allocations: 49.06 kB / 330.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.2228, allocations: 1.313 MB / 331.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007009/0.2235, allocations: 0.5067 MB / 331.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00057/0.2241, allocations: 293.1 kB / 332.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003993/0.2245, allocations: 0.5746 MB / 332.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.2255, allocations: 419.4 kB / 333.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.2272, allocations: 0.789 MB / 334 MB, free: 1.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.2298, allocations: 1.332 MB / 335.3 MB, free: 312 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.2298, allocations: 4 kB / 335.3 MB, free: 308 kB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005117/0.2349, allocations: 1.871 MB / 337.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.235, allocations: 8 kB / 337.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.235, allocations: 11.94 kB / 337.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/0.2377, allocations: 0.6243 MB / 337.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.239, allocations: 262.6 kB / 338.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.2505, allocations: 6.93 MB / 345 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.252, allocations: 87.94 kB / 345.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.2521, allocations: 51.98 kB / 345.2 MB, free: 6.32 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.001267/0.2534, allocations: 0.5529 MB / 345.7 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006412/0.2541, allocations: 250 kB / 346 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.2583, allocations: 1.618 MB / 347.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.2583, allocations: 20 kB / 347.6 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.2583, allocations: 4 kB / 347.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.2583, allocations: 7.969 kB / 347.6 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.2684, allocations: 4.043 MB / 351.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.2684, allocations: 4.156 kB / 351.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.2694, allocations: 212.6 kB / 351.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/0.2715, allocations: 0.4906 MB / 352.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.2717, allocations: 31.98 kB / 352.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009746/0.2814, allocations: 7.906 MB / 360.3 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2814, allocations: 0 / 360.3 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005287/0.2867, allocations: 2.281 MB / 362.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.2879, allocations: 348.7 kB / 362.9 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.2882, allocations: 35.67 kB / 362.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009099/0.2891, allocations: 75.91 kB / 363 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.2894, allocations: 108.2 kB / 363.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.2895, allocations: 43.98 kB / 363.2 MB, free: 3.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002063/0.2916, allocations: 1.228 MB / 364.4 MB, free: 2.703 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2916, allocations: 0 / 364.4 MB, free: 2.703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001937/0.2935, allocations: 0.5195 MB / 364.9 MB, free: 2.184 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.002703/0.2962, allocations: 485 kB / 365.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004076/0.3003, allocations: 1.875 MB / 367.3 MB, free: 16 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3003, allocations: 1.25 kB / 367.3 MB, free: 16 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00262/0.3029, allocations: 1.388 MB / 368.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.3051, allocations: 406.9 kB / 369.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/0.3139, allocations: 4.47 MB / 373.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/0.3157, allocations: 1.298 MB / 374.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001163/0.3169, allocations: 302.7 kB / 375.1 MB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.3173, allocations: 128.5 kB / 375.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.3173, allocations: 0 / 375.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of Templates: time 0.05731/0.3746, allocations: 29.64 MB / 404.9 MB, free: 10.63 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.533746147993952]