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.002016/0.002016, allocations: 96.27 kB / 20.96 MB, free: 3.582 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.002341/0.002341, allocations: 156.8 kB / 24.26 MB, free: 284 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.48/1.48, allocations: 177 MB / 204.5 MB, free: 5.605 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.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 1.583e-06/1.583e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.88e-05, allocations: 6.312 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01179/0.01181, allocations: 8.467 MB / 280.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008188/0.02, allocations: 2.956 MB / 283.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.02142, allocations: 35.88 kB / 283.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.02338, allocations: 0.5586 MB / 284.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.02543, allocations: 0.6162 MB / 284.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.02637, allocations: 319.4 kB / 285.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.02909, allocations: 1.84 MB / 287 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008094/0.0299, allocations: 421.3 kB / 287.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.03141, allocations: 1.041 MB / 288.5 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008279/0.03224, allocations: 0.5413 MB / 289 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.03256, allocations: 160 kB / 289.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.03293, allocations: 192 kB / 289.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.03325, allocations: 338.7 kB / 289.7 MB, free: 212 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1263/0.1596, allocations: 0.5551 MB / 290.2 MB, free: 17.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.1622, allocations: 2.005 MB / 292.2 MB, free: 17.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1622, allocations: 1.156 kB / 292.2 MB, free: 17.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1622, allocations: 0 / 292.2 MB, free: 17.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.529e-05/0.1623, allocations: 0 / 292.2 MB, free: 17.06 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003329/0.1656, allocations: 1.752 MB / 294 MB, free: 16.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1656, allocations: 13.45 kB / 294 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/0.1664, allocations: 291.2 kB / 294.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.168, allocations: 0.786 MB / 295.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.1681, allocations: 167.4 kB / 295.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.1683, allocations: 119.4 kB / 295.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.1705, allocations: 1.575 MB / 296.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.1705, allocations: 6.281 kB / 296.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-05/0.1706, allocations: 51 kB / 297 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.1706, allocations: 26.59 kB / 297 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.1723, allocations: 0.7545 MB / 297.8 MB, free: 14.89 MB / 266.7 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.005912/0.1783, allocations: 3.25 MB / 301 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.1798, allocations: 0.552 MB / 301.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.1803, allocations: 238.4 kB / 301.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.1804, allocations: 12.31 kB / 301.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/0.181, allocations: 334.1 kB / 302.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.514e-06/0.181, allocations: 0 / 302.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.004858/0.1859, allocations: 1.863 MB / 304 MB, free: 11.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.186, allocations: 481.2 kB / 304.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.1874, allocations: 0.9627 MB / 305.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.072e-05/0.1875, allocations: 40.05 kB / 305.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.1879, allocations: 0.6683 MB / 306.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.1881, allocations: 245 kB / 306.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.1884, allocations: 194.5 kB / 306.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.1885, allocations: 340.7 kB / 306.9 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.189, allocations: 308 kB / 307.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/0.1897, allocations: 1.168 MB / 308.4 MB, free: 8.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.1908, allocations: 0.9406 MB / 309.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1908, allocations: 3.438 kB / 309.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001953/0.1928, allocations: 1.23 MB / 310.5 MB, free: 7.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.1928, allocations: 66.83 kB / 310.6 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.1928, allocations: 13.09 kB / 310.6 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.1934, allocations: 175.3 kB / 310.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.1941, allocations: 207.5 kB / 311 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.1975, allocations: 3.609 MB / 314.6 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.1988, allocations: 60.8 kB / 314.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/0.1988, allocations: 50.45 kB / 314.7 MB, free: 3.594 MB / 266.7 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.0005667/0.1994, allocations: 294.1 kB / 315 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.1996, allocations: 142.1 kB / 315.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.201, allocations: 0.6907 MB / 315.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.201, allocations: 9.812 kB / 315.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.201, allocations: 3.875 kB / 315.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.2021, allocations: 0.9606 MB / 316.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.2046, allocations: 1.504 MB / 318.3 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2046, allocations: 0 / 318.3 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.2051, allocations: 110.2 kB / 318.4 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/0.2055, allocations: 132.5 kB / 318.5 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.2055, allocations: 19.22 kB / 318.6 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.2096, allocations: 3.319 MB / 321.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.2096, allocations: 4 kB / 321.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.2121, allocations: 1.053 MB / 322.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.2126, allocations: 167.2 kB / 323.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.2128, allocations: 23.05 kB / 323.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/0.2134, allocations: 35.97 kB / 323.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.2136, allocations: 64.08 kB / 323.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.2136, allocations: 20 kB / 323.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.2147, allocations: 0.6345 MB / 323.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2147, allocations: 0 / 323.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001309/0.216, allocations: 304 kB / 324.2 MB, free: 10.33 MB / 282.7 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.0002853/0.2163, allocations: 130.9 kB / 324.3 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.2186, allocations: 1.116 MB / 325.4 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001021/0.2187, allocations: 4 kB / 325.4 MB, free: 9.066 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.2198, allocations: 0.5438 MB / 326 MB, free: 8.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.2214, allocations: 303.9 kB / 326.3 MB, free: 8.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.2259, allocations: 2.095 MB / 328.4 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000665/0.2266, allocations: 0.4969 MB / 328.9 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006039/0.2272, allocations: 128.6 kB / 329 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.2273, allocations: 72.5 kB / 329.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of SimCode: time 2.544e-06/0.2273, allocations: 0 / 329.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of Templates: time 0.03272/0.2601, allocations: 17.11 MB / 346.2 MB, free: 4.703 MB / 298.7 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.301202815957367]