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.001918/0.001918, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002135/0.002135, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.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 0.001585/0.001585, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2499, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004815/0.2547, allocations: 3.22 MB / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2565, allocations: 0.9307 MB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2568, allocations: 7.938 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.2571, allocations: 99.12 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.2575, allocations: 186.4 kB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.2578, allocations: 127.8 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007977/0.2586, allocations: 0.638 MB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.2589, allocations: 131.5 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.2592, allocations: 247.1 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.2596, allocations: 282.8 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.2597, allocations: 52 kB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2598, allocations: 52 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2599, allocations: 119.6 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.2602, allocations: 239 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007108/0.2609, allocations: 0.6564 MB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2609, allocations: 0 / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2609, allocations: 4 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.2609, allocations: 0 / 439.3 MB, free: 15.72 MB / 350.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.0015/0.2624, allocations: 0.7866 MB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2625, allocations: 8.031 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.2626, allocations: 64.56 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.2632, allocations: 333.2 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.2633, allocations: 114.3 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.2634, allocations: 28.38 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/0.2643, allocations: 0.834 MB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2643, allocations: 4 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.2644, allocations: 16 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2644, allocations: 8 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.265, allocations: 278.5 kB / 441.7 MB, free: 13.04 MB / 350.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.001994/0.267, allocations: 0.9556 MB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.2682, allocations: 339.3 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.2684, allocations: 120.8 kB / 443.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.2685, allocations: 11.94 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2685, allocations: 38.56 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.2685, allocations: 0 / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001144/0.2696, allocations: 452.3 kB / 443.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002336/0.2699, allocations: 441 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.2704, allocations: 409.6 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.2704, allocations: 37.64 kB / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.2706, allocations: 240.4 kB / 444.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.2707, allocations: 119 kB / 444.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2708, allocations: 70.02 kB / 444.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.271, allocations: 362.7 kB / 445.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.2713, allocations: 134.2 kB / 445.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.2719, allocations: 0.6517 MB / 446.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.2724, allocations: 281.2 kB / 446.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2724, allocations: 0 / 446.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007747/0.2732, allocations: 438.4 kB / 446.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.2732, allocations: 37.64 kB / 446.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2732, allocations: 3.984 kB / 446.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.2734, allocations: 49.7 kB / 446.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.2737, allocations: 71.89 kB / 446.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.2763, allocations: 2.697 MB / 449.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.2767, allocations: 35.81 kB / 449.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.2767, allocations: 19.98 kB / 449.7 MB, free: 4.473 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.0001971/0.2769, allocations: 165.7 kB / 449.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.277, allocations: 47.72 kB / 449.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.987e-05/0.2771, allocations: 44.38 kB / 449.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007638/0.2779, allocations: 0.6611 MB / 450.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2779, allocations: 240 / 450.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.278, allocations: 75.61 kB / 450.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.2781, allocations: 8 kB / 450.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.2784, allocations: 27.91 kB / 450.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.2785, allocations: 19.95 kB / 450.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008246/0.2793, allocations: 372.8 kB / 451.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009269/0.2802, allocations: 0.6018 MB / 451.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002187/0.2804, allocations: 99.97 kB / 451.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003222/0.2808, allocations: 287.2 kB / 452.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Backend: time 3.2e-07/0.2808, allocations: 0 / 452.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.2819, allocations: 0.5711 MB / 452.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of SimCode: time 0.001762/0.2836, allocations: 1.376 MB / 454 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01638/0.3, allocations: 9.645 MB / 463.7 MB, free: 6.473 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/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.473820977997093]