Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001826/0.001826, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 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.002059/0.002059, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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.492/1.492, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 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.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.91 kB / 373.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1107, allocations: 53.32 MB / 427.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2058/0.3165, allocations: 9.647 MB / 436.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.3209, allocations: 3.147 MB / 440 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006646/0.3215, allocations: 25.78 kB / 440 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.3231, allocations: 0.6187 MB / 440.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.3245, allocations: 0.5864 MB / 441.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.3252, allocations: 317.8 kB / 441.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.3268, allocations: 1.761 MB / 443.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000629/0.3274, allocations: 451.9 kB / 443.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.3283, allocations: 0.6783 MB / 444.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.329, allocations: 0.7446 MB / 445.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.3292, allocations: 157.9 kB / 445.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.3297, allocations: 197 kB / 445.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.3299, allocations: 333.5 kB / 445.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.3305, allocations: 0.8104 MB / 446.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.3326, allocations: 1.986 MB / 448.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3326, allocations: 0 / 448.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3326, allocations: 0 / 448.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.522e-05/0.3327, allocations: 0.9688 kB / 448.6 MB, free: 0.6602 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003123/0.3358, allocations: 1.848 MB / 450.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3358, allocations: 14.22 kB / 450.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006025/0.3364, allocations: 201.4 kB / 450.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.3379, allocations: 0.84 MB / 451.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.338, allocations: 114.9 kB / 451.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.3382, allocations: 113.3 kB / 451.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.3402, allocations: 1.146 MB / 452.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.3403, allocations: 1.969 kB / 452.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3404, allocations: 47.81 kB / 452.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.3404, allocations: 25.78 kB / 452.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.342, allocations: 0.7589 MB / 453.7 MB, free: 13.74 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/0.3482, allocations: 3.928 MB / 457.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.3497, allocations: 0.546 MB / 458.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.3502, allocations: 241.6 kB / 458.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.705e-05/0.3503, allocations: 12.44 kB / 458.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006301/0.3509, allocations: 294.6 kB / 458.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.595e-06/0.3509, allocations: 1.5 kB / 458.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005147/0.3561, allocations: 2.095 MB / 460.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002898/0.3564, allocations: 485 kB / 461.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.358, allocations: 1.107 MB / 462.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.358, allocations: 39.3 kB / 462.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000579/0.3586, allocations: 0.6548 MB / 463.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.3588, allocations: 242.4 kB / 463.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.3591, allocations: 199.9 kB / 463.5 MB, free: 7.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3593, allocations: 346.8 kB / 463.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/0.3598, allocations: 248.9 kB / 464.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/0.3608, allocations: 0.7052 MB / 464.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.3622, allocations: 0.9417 MB / 465.7 MB, free: 5.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.3622, allocations: 7.75 kB / 465.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002156/0.3644, allocations: 1.148 MB / 466.9 MB, free: 4.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.3645, allocations: 63.34 kB / 467 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3645, allocations: 10.59 kB / 467 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.3651, allocations: 169.9 kB / 467.1 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.3658, allocations: 207.9 kB / 467.3 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004597/0.3704, allocations: 3.891 MB / 471.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3714, allocations: 68 kB / 471.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.3715, allocations: 46.47 kB / 471.3 MB, free: 0.6367 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005395/0.372, allocations: 296.5 kB / 471.6 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.3722, allocations: 136.5 kB / 471.8 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.3738, allocations: 0.6926 MB / 472.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3738, allocations: 6.531 kB / 472.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3738, allocations: 5.031 kB / 472.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/0.3753, allocations: 0.9454 MB / 473.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.3786, allocations: 1.798 MB / 475.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.3786, allocations: 2.344 kB / 475.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.3791, allocations: 104.9 kB / 475.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.3795, allocations: 127 kB / 475.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.3796, allocations: 12.72 kB / 475.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003906/0.3835, allocations: 3.597 MB / 479 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3835, allocations: 3.219 kB / 479.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.3858, allocations: 1.047 MB / 480.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006816/0.3864, allocations: 262.8 kB / 480.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.3866, allocations: 19.7 kB / 480.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.3873, allocations: 38.59 kB / 480.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.3874, allocations: 64.48 kB / 480.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.3875, allocations: 17.69 kB / 480.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.3887, allocations: 0.7474 MB / 481.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3887, allocations: 0 / 481.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001281/0.3899, allocations: 310.9 kB / 481.5 MB, free: 8.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002873/0.3902, allocations: 136.2 kB / 481.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.3925, allocations: 1.061 MB / 482.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3925, allocations: 0 / 482.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009849/0.3935, allocations: 0.5364 MB / 483.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.395, allocations: 334.1 kB / 483.6 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.3989, allocations: 2.26 MB / 485.9 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009251/0.3999, allocations: 1.082 MB / 486.9 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005324/0.4004, allocations: 153.8 kB / 487.1 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.4006, allocations: 75.44 kB / 487.2 MB, free: 2.93 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4006, allocations: 0 / 487.2 MB, free: 2.93 MB / 382.1 MB Notification: Performance of Templates: time 0.03323/0.4338, allocations: 18.43 MB / 0.4937 GB, free: 0.7109 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.149068899452686]