Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 211.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 51.92 kB / 378.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2223, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004664/0.227, allocations: 3.205 MB / 434.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2286, allocations: 0.9268 MB / 435.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.2288, allocations: 11.94 kB / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.229, allocations: 99.12 kB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.2294, allocations: 194.4 kB / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.2297, allocations: 119.8 kB / 436.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.2304, allocations: 0.638 MB / 436.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.2307, allocations: 135.2 kB / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.231, allocations: 247.1 kB / 437.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.2313, allocations: 238.8 kB / 437.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-05/0.2314, allocations: 52 kB / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.2315, allocations: 56 kB / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2316, allocations: 115.6 kB / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.2319, allocations: 247 kB / 437.8 MB, free: 468 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.2325, allocations: 0.6512 MB / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2326, allocations: 0 / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2326, allocations: 0 / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.2326, allocations: 0 / 438.5 MB, free: 15.81 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001417/0.234, allocations: 0.7867 MB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.234, allocations: 8.031 kB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.2341, allocations: 64.56 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.2347, allocations: 341.2 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.2349, allocations: 114.3 kB / 439.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.2349, allocations: 28.38 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.2359, allocations: 0.8307 MB / 440.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.2359, allocations: 4 kB / 440.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.2359, allocations: 12 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.236, allocations: 8 kB / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.2366, allocations: 286.4 kB / 440.9 MB, free: 13.12 MB / 350.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.001983/0.2385, allocations: 0.944 MB / 441.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2397, allocations: 341.9 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.24, allocations: 124.8 kB / 442.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.24, allocations: 8 kB / 442.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.24, allocations: 38.56 kB / 442.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.24, allocations: 4.094 kB / 442.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001133/0.2412, allocations: 452.2 kB / 442.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002627/0.2414, allocations: 449 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.2419, allocations: 405.6 kB / 443.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.242, allocations: 33.7 kB / 443.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.2422, allocations: 248.4 kB / 443.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.2423, allocations: 111 kB / 444.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.2424, allocations: 74.02 kB / 444.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2426, allocations: 358.7 kB / 444.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2428, allocations: 134.3 kB / 444.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.2435, allocations: 0.6516 MB / 445.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.244, allocations: 285.2 kB / 445.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.244, allocations: 0 / 445.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008071/0.2448, allocations: 438.3 kB / 446 MB, free: 7.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.2449, allocations: 37.69 kB / 446 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2449, allocations: 0 / 446 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.245, allocations: 49.7 kB / 446 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.2454, allocations: 71.92 kB / 446.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.2481, allocations: 2.696 MB / 448.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.2485, allocations: 43.95 kB / 448.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2485, allocations: 12 kB / 448.9 MB, free: 4.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.2487, allocations: 173.7 kB / 449 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.2488, allocations: 51.72 kB / 449.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.947e-05/0.2489, allocations: 44.38 kB / 449.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2489, allocations: 4 kB / 449.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2489, allocations: 240 / 449.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007724/0.2497, allocations: 0.6495 MB / 449.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.251, allocations: 0.755 MB / 450.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.251, allocations: 0 / 450.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.2514, allocations: 71.89 kB / 450.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2514, allocations: 4 kB / 450.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.2514, allocations: 4 kB / 450.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2514, allocations: 4 kB / 450.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2514, allocations: 3.938 kB / 450.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.2523, allocations: 0.5176 MB / 451.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.2525, allocations: 83.62 kB / 451.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.2525, allocations: 11.98 kB / 451.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.2528, allocations: 15.94 kB / 451.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2529, allocations: 27.89 kB / 451.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.2529, allocations: 8 kB / 451.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003472/0.2533, allocations: 283.2 kB / 451.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2533, allocations: 0 / 451.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.2537, allocations: 135.8 kB / 451.7 MB, free: 1.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.2538, allocations: 115.2 kB / 451.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009515/0.2548, allocations: 0.5686 MB / 452.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.2548, allocations: 4 kB / 452.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.255, allocations: 119.8 kB / 452.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/0.2556, allocations: 121.4 kB / 452.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2572, allocations: 0.897 MB / 453.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2574, allocations: 212.4 kB / 453.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.2577, allocations: 59.38 kB / 453.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.2578, allocations: 39.42 kB / 453.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2578, allocations: 0 / 453.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01634/0.2741, allocations: 9.043 MB / 462.9 MB, free: 6.523 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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: 4.684056228026748]