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.001252/0.001252, allocations: 84.55 kB / 20.68 MB, free: 1.012 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.001371/0.001371, allocations: 167.6 kB / 23.96 MB, free: 4.125 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.439/1.439, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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 1.203e-06/1.203e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.82e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00426/0.004278, allocations: 3.226 MB / 328.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.005947, allocations: 0.9351 MB / 329.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.006131, allocations: 10.12 kB / 329.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.006453, allocations: 104.1 kB / 329.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.006882, allocations: 199.6 kB / 329.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.007166, allocations: 126.2 kB / 329.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007734/0.007939, allocations: 0.6566 MB / 330.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.008173, allocations: 125 kB / 330.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.008609, allocations: 373.1 kB / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.008933, allocations: 199.5 kB / 331 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.2e-05/0.009015, allocations: 56.81 kB / 331 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.009119, allocations: 53.38 kB / 331.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.009233, allocations: 118.7 kB / 331.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.009476, allocations: 209.7 kB / 331.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007113/0.01019, allocations: 0.6622 MB / 332.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01019, allocations: 0 / 332.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01019, allocations: 0 / 332.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.0102, allocations: 0 / 332.1 MB, free: 12.09 MB / 302.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.00136/0.01156, allocations: 0.779 MB / 332.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.01159, allocations: 14.3 kB / 332.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.01172, allocations: 64.88 kB / 332.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.01228, allocations: 334.9 kB / 333.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.01241, allocations: 109.5 kB / 333.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.01247, allocations: 37.94 kB / 333.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009437/0.01341, allocations: 0.8264 MB / 334.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01343, allocations: 192 / 334.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.01347, allocations: 21.59 kB / 334.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.01348, allocations: 7.688 kB / 334.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.01407, allocations: 279.6 kB / 334.5 MB, free: 10.05 MB / 302.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.001899/0.01597, allocations: 0.9567 MB / 335.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.01713, allocations: 342.2 kB / 335.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.01739, allocations: 127.4 kB / 335.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.01742, allocations: 9.219 kB / 336 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.01746, allocations: 38.12 kB / 336 MB, free: 9.051 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.01746, allocations: 0 / 336 MB, free: 9.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001109/0.01857, allocations: 453.6 kB / 336.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/0.0188, allocations: 446.1 kB / 336.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.01926, allocations: 404 kB / 337.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.01932, allocations: 33.36 kB / 337.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.01953, allocations: 242.8 kB / 337.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.01964, allocations: 116.2 kB / 337.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.01978, allocations: 77.8 kB / 337.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.01997, allocations: 352.1 kB / 338.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.02025, allocations: 134.1 kB / 338.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/0.02088, allocations: 0.6535 MB / 338.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.02143, allocations: 276.6 kB / 339.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02143, allocations: 4 kB / 339.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008062/0.02224, allocations: 444.3 kB / 339.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.02228, allocations: 41.64 kB / 339.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.02228, allocations: 0 / 339.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.02245, allocations: 53.69 kB / 339.7 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.02279, allocations: 63.91 kB / 339.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.02546, allocations: 2.704 MB / 342.4 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.02583, allocations: 39.81 kB / 342.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.02586, allocations: 8 kB / 342.5 MB, free: 2.883 MB / 302.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.0002281/0.02609, allocations: 177.8 kB / 342.6 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.02617, allocations: 43.72 kB / 342.7 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.02627, allocations: 48.36 kB / 342.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02628, allocations: 4 kB / 342.7 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02628, allocations: 0 / 342.7 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007845/0.02706, allocations: 0.6495 MB / 343.4 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.02839, allocations: 0.7474 MB / 344.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.0284, allocations: 4 kB / 344.1 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.02876, allocations: 63.91 kB / 344.2 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.02877, allocations: 4 kB / 344.2 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.02879, allocations: 7.984 kB / 344.2 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02879, allocations: 0 / 344.2 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0288, allocations: 4 kB / 344.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/0.02973, allocations: 0.5214 MB / 344.7 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.0299, allocations: 79.86 kB / 344.8 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.02997, allocations: 20.16 kB / 344.8 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.0303, allocations: 23.86 kB / 344.9 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.03035, allocations: 19.95 kB / 344.9 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.03037, allocations: 8 kB / 344.9 MB, free: 300 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.0307, allocations: 287.2 kB / 345.2 MB, free: 16 kB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0307, allocations: 0 / 345.2 MB, free: 16 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.03117, allocations: 131.9 kB / 345.3 MB, free: 15.88 MB / 318.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.0001419/0.03131, allocations: 115.1 kB / 345.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009947/0.03231, allocations: 0.5686 MB / 346 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.03231, allocations: 0 / 346 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.03258, allocations: 127.8 kB / 346.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.03321, allocations: 117.4 kB / 346.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.03471, allocations: 0.7995 MB / 347 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.03494, allocations: 220.4 kB / 347.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.03514, allocations: 59.36 kB / 347.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.03525, allocations: 40.5 kB / 347.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.03525, allocations: 0 / 347.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of Templates: time 0.0157/0.05095, allocations: 8.324 MB / 355.6 MB, free: 5.645 MB / 318.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.481550306081772]