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.001931/0.001931, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002129/0.002129, allocations: 185.8 kB / 24.45 MB, free: 3.961 MB / 14.72 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 1.415/1.415, allocations: 225.7 MB / 253.3 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001608/0.001608, allocations: 43.92 kB / 371.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2506, allocations: 52.18 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004607/0.2552, allocations: 3.222 MB / 427 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2568, allocations: 0.884 MB / 427.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.257, allocations: 7.938 kB / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.2573, allocations: 119.1 kB / 428 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.2577, allocations: 186.4 kB / 428.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2579, allocations: 119.8 kB / 428.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000726/0.2587, allocations: 0.6441 MB / 429 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.2589, allocations: 127.5 kB / 429.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.2592, allocations: 247.1 kB / 429.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.2595, allocations: 234.9 kB / 429.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.2595, allocations: 55.98 kB / 429.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.734e-05/0.2596, allocations: 56 kB / 429.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2597, allocations: 111.6 kB / 429.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.26, allocations: 250.9 kB / 430 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006818/0.2607, allocations: 0.6487 MB / 430.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2607, allocations: 0 / 430.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2607, allocations: 0 / 430.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.2607, allocations: 0 / 430.7 MB, free: 7.543 MB / 334.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.001348/0.2621, allocations: 0.7866 MB / 431.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2621, allocations: 11.97 kB / 431.5 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.2622, allocations: 60.61 kB / 431.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.2628, allocations: 337.1 kB / 431.9 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.2629, allocations: 114.3 kB / 432 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.263, allocations: 36.38 kB / 432 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/0.2639, allocations: 0.8229 MB / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2639, allocations: 0 / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.2639, allocations: 16 kB / 432.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.264, allocations: 11.94 kB / 432.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.2645, allocations: 278.4 kB / 433.1 MB, free: 4.859 MB / 334.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.001946/0.2665, allocations: 0.9557 MB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.2676, allocations: 342.4 kB / 434.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.2678, allocations: 128.8 kB / 434.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.2679, allocations: 4 kB / 434.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.2679, allocations: 38.56 kB / 434.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.2679, allocations: 0 / 434.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00109/0.269, allocations: 451.4 kB / 435 MB, free: 2.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002469/0.2692, allocations: 445 kB / 435.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.2697, allocations: 409.6 kB / 435.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.2698, allocations: 33.7 kB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.27, allocations: 244.4 kB / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.2701, allocations: 111.1 kB / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.2702, allocations: 81.97 kB / 436.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2704, allocations: 350.7 kB / 436.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.2707, allocations: 130.3 kB / 436.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.2713, allocations: 0.6595 MB / 437.5 MB, free: 172 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.2718, allocations: 284.5 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2718, allocations: 0 / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007798/0.2726, allocations: 435 kB / 438.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.2726, allocations: 37.69 kB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2727, allocations: 0 / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.2728, allocations: 49.7 kB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.2732, allocations: 67.89 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.2757, allocations: 2.705 MB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.2761, allocations: 39.8 kB / 441.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.2761, allocations: 12 kB / 441.1 MB, free: 12.3 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.0002312/0.2764, allocations: 173.9 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.2765, allocations: 39.77 kB / 441.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.2765, allocations: 52.31 kB / 441.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2766, allocations: 4 kB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2766, allocations: 0 / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007579/0.2773, allocations: 0.6544 MB / 442 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2786, allocations: 0.755 MB / 442.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2786, allocations: 0 / 442.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.2789, allocations: 67.89 kB / 442.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.279, allocations: 4 kB / 442.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.279, allocations: 4 kB / 442.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.279, allocations: 0 / 442.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.279, allocations: 7.938 kB / 442.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.2799, allocations: 0.5176 MB / 443.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.28, allocations: 75.75 kB / 443.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.2801, allocations: 12.08 kB / 443.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.2804, allocations: 23.88 kB / 443.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.2804, allocations: 23.89 kB / 443.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.2805, allocations: 8 kB / 443.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003214/0.2808, allocations: 283.2 kB / 443.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2808, allocations: 0 / 443.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00045/0.2812, allocations: 135.8 kB / 443.9 MB, free: 9.305 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.0001327/0.2814, allocations: 111.2 kB / 444 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009787/0.2824, allocations: 0.5766 MB / 444.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2824, allocations: 0 / 444.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.2826, allocations: 123.8 kB / 444.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.2832, allocations: 121.4 kB / 444.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2849, allocations: 0.9165 MB / 445.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.2851, allocations: 212.4 kB / 445.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2852, allocations: 47.42 kB / 446 MB, free: 7.102 MB / 350.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2852, allocations: 0 / 446 MB, free: 7.102 MB / 350.1 MB Notification: Performance of Templates: time 0.01208/0.2973, allocations: 8.266 MB / 454.3 MB, free: 14.89 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/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: 7.944207153748721]