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.0009206/0.0009206, allocations: 75.77 kB / 21.18 MB, free: 3.383 MB / 18.57 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.000951/0.000951, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9493/0.9493, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.533e-06/1.533e-06, allocations: 0 / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.258e-05, allocations: 2.312 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004433/0.004456, allocations: 3.531 MB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.005921, allocations: 0.9656 MB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.006101, allocations: 11.94 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.006415, allocations: 103.1 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.006796, allocations: 198.2 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.007053, allocations: 131.7 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.007706, allocations: 0.6572 MB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.007944, allocations: 127.4 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.008298, allocations: 371.2 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.00859, allocations: 199.5 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/0.008671, allocations: 52 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.44e-05/0.008765, allocations: 56 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.008859, allocations: 119.6 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.009074, allocations: 211.5 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.009572, allocations: 434.5 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.009574, allocations: 0 / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009575, allocations: 0 / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.009583, allocations: 0 / 280.1 MB, free: 10.4 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00124/0.01082, allocations: 0.8787 MB / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.01086, allocations: 16.03 kB / 281 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.01102, allocations: 92.56 kB / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.01152, allocations: 331.2 kB / 281.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.01163, allocations: 110.3 kB / 281.5 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.01171, allocations: 40.38 kB / 281.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.01246, allocations: 0.7979 MB / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.01247, allocations: 192 / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.01251, allocations: 24.12 kB / 282.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.01253, allocations: 8 kB / 282.4 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.01291, allocations: 155.8 kB / 282.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.01465, allocations: 0.959 MB / 283.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.01554, allocations: 267.9 kB / 283.7 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.01571, allocations: 79.64 kB / 283.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.01575, allocations: 8 kB / 283.8 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.01579, allocations: 45.33 kB / 283.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/0.01579, allocations: 0 / 283.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.000805/0.0166, allocations: 328.6 kB / 284.2 MB, free: 5.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.01678, allocations: 456.9 kB / 284.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.01725, allocations: 426.7 kB / 285.1 MB, free: 4.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.01728, allocations: 33.7 kB / 285.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.01748, allocations: 299.2 kB / 285.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.01757, allocations: 115 kB / 285.5 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.0177, allocations: 75.69 kB / 285.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.0179, allocations: 0.5352 MB / 286.1 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.01805, allocations: 78.33 kB / 286.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.01846, allocations: 0.6361 MB / 286.8 MB, free: 2.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.01879, allocations: 194.9 kB / 287 MB, free: 2.789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.0188, allocations: 4 kB / 287 MB, free: 2.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005716/0.01937, allocations: 352 kB / 287.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.0194, allocations: 29.7 kB / 287.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01941, allocations: 4 kB / 287.4 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.01958, allocations: 47.36 kB / 287.4 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.01985, allocations: 71.83 kB / 287.5 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.02212, allocations: 3.581 MB / 291.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.02237, allocations: 31.78 kB / 291.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.0224, allocations: 20.08 kB / 291.1 MB, free: 14.37 MB / 282.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.0001614/0.02256, allocations: 184.5 kB / 291.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.02266, allocations: 55.72 kB / 291.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.02273, allocations: 48.38 kB / 291.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.02273, allocations: 4.188 kB / 291.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.02274, allocations: 0 / 291.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004872/0.02322, allocations: 0.576 MB / 292 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.02424, allocations: 0.7274 MB / 292.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02424, allocations: 3.938 kB / 292.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.02453, allocations: 67.95 kB / 292.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.02453, allocations: 0 / 292.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.02455, allocations: 8 kB / 292.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.02455, allocations: 0 / 292.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02456, allocations: 4 kB / 292.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.02512, allocations: 440.9 kB / 293.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.02528, allocations: 83.64 kB / 293.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.02533, allocations: 15.98 kB / 293.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.02557, allocations: 12 kB / 293.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.02562, allocations: 15.95 kB / 293.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.02564, allocations: 12 kB / 293.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002869/0.02592, allocations: 287.1 kB / 293.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02592, allocations: 0 / 293.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004594/0.02638, allocations: 139.8 kB / 293.8 MB, free: 11.53 MB / 282.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.000125/0.02651, allocations: 107.2 kB / 293.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007245/0.02723, allocations: 0.6165 MB / 294.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.02724, allocations: 4 kB / 294.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.0274, allocations: 92.03 kB / 294.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.028, allocations: 128.4 kB / 294.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.02972, allocations: 0.82 MB / 295.6 MB, free: 9.676 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.506e-05/0.0298, allocations: 105.9 kB / 295.7 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.02999, allocations: 59.38 kB / 295.7 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.03009, allocations: 36.5 kB / 295.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0301, allocations: 0 / 295.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of Templates: time 0.01353/0.04362, allocations: 8.394 MB / 304.1 MB, free: 1.285 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] 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","",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.991617479827255]