Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005119/0.005119, allocations: 150.8 kB / 24.68 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8404/0.8404, allocations: 173.4 MB / 201.2 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 319.7 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.592e-05, allocations: 14.16 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002758/0.002784, allocations: 3.204 MB / 322.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004009, allocations: 0.8994 MB / 323.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.004184, allocations: 7.938 kB / 323.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.004439, allocations: 111.1 kB / 323.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.004723, allocations: 202.2 kB / 324.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.004947, allocations: 123.8 kB / 324.2 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.005464, allocations: 0.6611 MB / 324.9 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.005656, allocations: 119.4 kB / 325 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.005962, allocations: 371.2 kB / 325.3 MB, free: 164 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.006167, allocations: 199.5 kB / 325.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.006218, allocations: 52 kB / 325.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.883e-05/0.006267, allocations: 59.94 kB / 325.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.006332, allocations: 119.6 kB / 325.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.006463, allocations: 203.6 kB / 326 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.006934, allocations: 0.6697 MB / 326.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.006938, allocations: 0 / 326.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.006939, allocations: 0 / 326.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.006948, allocations: 0 / 326.6 MB, free: 14.87 MB / 298.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.0009109/0.007859, allocations: 0.7788 MB / 327.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.007894, allocations: 12.92 kB / 327.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.007977, allocations: 60.61 kB / 327.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.0084, allocations: 340.4 kB / 327.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/0.008486, allocations: 110.3 kB / 327.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.008527, allocations: 36.38 kB / 328 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.00907, allocations: 0.8194 MB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.009083, allocations: 8.125 kB / 328.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.009109, allocations: 20.12 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.009117, allocations: 8 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.009457, allocations: 274.5 kB / 329.1 MB, free: 12.19 MB / 298.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.001201/0.01066, allocations: 0.9481 MB / 330 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.01128, allocations: 335.4 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.01144, allocations: 132.8 kB / 330.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.01146, allocations: 7.984 kB / 330.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.01148, allocations: 42.5 kB / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.01149, allocations: 0 / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006478/0.01213, allocations: 443 kB / 331 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.01226, allocations: 452.9 kB / 331.4 MB, free: 9.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.01254, allocations: 397.6 kB / 331.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.01257, allocations: 37.7 kB / 331.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.01268, allocations: 252.4 kB / 332.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.01274, allocations: 115 kB / 332.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.01282, allocations: 81.97 kB / 332.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.01292, allocations: 350.7 kB / 332.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.01307, allocations: 130.3 kB / 332.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.01338, allocations: 0.6556 MB / 333.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.01368, allocations: 276.6 kB / 333.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01368, allocations: 4 kB / 333.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004309/0.01411, allocations: 431 kB / 334.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.01414, allocations: 33.7 kB / 334.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01414, allocations: 3.938 kB / 334.1 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.01427, allocations: 49.69 kB / 334.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.01443, allocations: 71.89 kB / 334.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.01588, allocations: 2.712 MB / 337 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.01606, allocations: 39.88 kB / 337 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.01608, allocations: 11.98 kB / 337 MB, free: 3.621 MB / 298.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.0001432/0.01622, allocations: 181 kB / 337.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01627, allocations: 47.72 kB / 337.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.01632, allocations: 48.38 kB / 337.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01632, allocations: 4 kB / 337.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01632, allocations: 0 / 337.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003946/0.01672, allocations: 0.6543 MB / 337.9 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007336/0.01745, allocations: 0.7552 MB / 338.7 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01745, allocations: 0 / 338.7 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.01762, allocations: 63.95 kB / 338.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01762, allocations: 4.031 kB / 338.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01764, allocations: 15.94 kB / 338.8 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.01764, allocations: 0 / 338.8 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01764, allocations: 0 / 338.8 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.01812, allocations: 0.5137 MB / 339.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.01822, allocations: 75.75 kB / 339.4 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.01825, allocations: 12 kB / 339.4 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.01839, allocations: 15.98 kB / 339.4 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.01842, allocations: 19.95 kB / 339.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01843, allocations: 11.94 kB / 339.4 MB, free: 1.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.01862, allocations: 287.2 kB / 339.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01862, allocations: 0 / 339.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002974/0.01892, allocations: 139.7 kB / 339.8 MB, free: 0.6172 MB / 298.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 9.424e-05/0.01902, allocations: 107.2 kB / 340 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005892/0.01961, allocations: 0.5805 MB / 340.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.01961, allocations: 0 / 340.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.01974, allocations: 119.8 kB / 340.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.02014, allocations: 121.4 kB / 340.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/0.02112, allocations: 0.837 MB / 341.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.02125, allocations: 220.2 kB / 341.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.02133, allocations: 40.48 kB / 341.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02133, allocations: 0 / 341.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of Templates: time 0.007286/0.02862, allocations: 8.275 MB / 350.1 MB, free: 6.289 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.420598158612847]