Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008116/0.0008116, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001873, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006997/0.0006997, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001743, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/1.15, allocations: 49.49 MB / 220.6 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.322e-05, allocations: 6.25 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003702/0.003725, allocations: 3.53 MB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.005421, allocations: 1.017 MB / 226.4 MB, free: 11.6 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.005625, allocations: 7.938 kB / 226.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.005835, allocations: 107.1 kB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.006165, allocations: 206.2 kB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.006397, allocations: 119.8 kB / 226.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.006981, allocations: 0.6689 MB / 227.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.007214, allocations: 129.4 kB / 227.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.007786, allocations: 452.2 kB / 228 MB, free: 9.922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.008103, allocations: 195.5 kB / 228.2 MB, free: 9.73 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.008175, allocations: 52 kB / 228.3 MB, free: 9.68 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.412e-05/0.008249, allocations: 52 kB / 228.3 MB, free: 9.629 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.008317, allocations: 91.69 kB / 228.4 MB, free: 9.539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.008459, allocations: 171.7 kB / 228.6 MB, free: 9.371 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.008821, allocations: 390.5 kB / 229 MB, free: 8.988 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.63e-05/0.008837, allocations: 0 / 229 MB, free: 8.988 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.008838, allocations: 0 / 229 MB, free: 8.988 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.008858, allocations: 0 / 229 MB, free: 8.988 MB / 234.7 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.001015/0.009873, allocations: 0.8592 MB / 229.8 MB, free: 8.098 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.009915, allocations: 15.97 kB / 229.9 MB, free: 8.082 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.01003, allocations: 68.88 kB / 229.9 MB, free: 8.016 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.01043, allocations: 259.9 kB / 230.2 MB, free: 7.734 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.01057, allocations: 110.3 kB / 230.3 MB, free: 7.609 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.01062, allocations: 44.33 kB / 230.3 MB, free: 7.566 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.01118, allocations: 0.738 MB / 231.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01119, allocations: 192 / 231.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.01121, allocations: 16.12 kB / 231.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.01122, allocations: 8 kB / 231.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.01138, allocations: 111.1 kB / 231.2 MB, free: 6.547 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009857/0.01236, allocations: 0.6674 MB / 231.9 MB, free: 5.852 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.01285, allocations: 230.4 kB / 232.1 MB, free: 5.617 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.01293, allocations: 76.67 kB / 232.2 MB, free: 5.539 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.01296, allocations: 8 kB / 232.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.01299, allocations: 38.56 kB / 232.2 MB, free: 5.484 MB / 234.7 MB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.01299, allocations: 0 / 232.2 MB, free: 5.484 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003972/0.01339, allocations: 240 kB / 232.4 MB, free: 5.238 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.01342, allocations: 63.34 kB / 232.5 MB, free: 5.164 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.01362, allocations: 343.2 kB / 232.8 MB, free: 4.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.01364, allocations: 37.7 kB / 232.9 MB, free: 4.777 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.01373, allocations: 189.5 kB / 233.1 MB, free: 4.586 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.01379, allocations: 115 kB / 233.2 MB, free: 4.473 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.01386, allocations: 77.94 kB / 233.2 MB, free: 4.387 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01396, allocations: 354.7 kB / 233.6 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.01403, allocations: 70.28 kB / 233.7 MB, free: 3.957 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.01427, allocations: 0.5697 MB / 234.2 MB, free: 3.238 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.01441, allocations: 161.1 kB / 234.4 MB, free: 3.07 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01441, allocations: 3.938 kB / 234.4 MB, free: 3.066 MB / 234.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002268/0.01464, allocations: 266.5 kB / 234.7 MB, free: 2.781 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.01467, allocations: 29.7 kB / 234.7 MB, free: 2.746 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01468, allocations: 4 kB / 234.7 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.01478, allocations: 37.69 kB / 234.7 MB, free: 2.699 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.01509, allocations: 83.92 kB / 234.8 MB, free: 2.617 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.01634, allocations: 2.415 MB / 237.2 MB, free: 32 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.01651, allocations: 39.81 kB / 237.3 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01652, allocations: 4 kB / 237.3 MB, free: 15.98 MB / 250.7 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.0001119/0.01663, allocations: 133.8 kB / 237.4 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.01668, allocations: 43.91 kB / 237.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.01673, allocations: 48.31 kB / 237.5 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01673, allocations: 8 kB / 237.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01674, allocations: 3.984 kB / 237.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002695/0.01701, allocations: 0.5206 MB / 238 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.0175, allocations: 0.4902 MB / 238.5 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.0175, allocations: 7.938 kB / 238.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.01771, allocations: 83.88 kB / 238.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.01779, allocations: 47.64 kB / 238.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01779, allocations: 8 kB / 238.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01781, allocations: 8 kB / 238.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01781, allocations: 3.984 kB / 238.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01781, allocations: 4 kB / 238.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.01806, allocations: 309.4 kB / 239 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.0181, allocations: 8 kB / 239 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.01822, allocations: 19.92 kB / 239 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.01825, allocations: 19.97 kB / 239 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01826, allocations: 7.984 kB / 239 MB, free: 14.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.01837, allocations: 144.7 kB / 239.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01837, allocations: 0 / 239.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.01864, allocations: 143.8 kB / 239.3 MB, free: 13.79 MB / 250.7 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.0001222/0.01876, allocations: 84.36 kB / 239.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.01918, allocations: 489.2 kB / 239.9 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/0.0192, allocations: 8 kB / 239.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.01926, allocations: 68.83 kB / 239.9 MB, free: 13.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.0196, allocations: 177.2 kB / 240.1 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.02523, allocations: 0.7794 MB / 240.9 MB, free: 12.11 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.119e-05/0.0253, allocations: 109.8 kB / 241 MB, free: 11.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.02546, allocations: 59.38 kB / 241.1 MB, free: 11.92 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.02577, allocations: 217.2 kB / 241.3 MB, free: 11.7 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02577, allocations: 0 / 241.3 MB, free: 11.7 MB / 250.7 MB Notification: Performance of Templates: time 0.01068/0.03645, allocations: 9.949 MB / 251.2 MB, free: 1.77 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.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: 2.775255295448005]