Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001474/0.001474, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001455/0.001455, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.49/1.49, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.238, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.007326/0.2453, allocations: 5.092 MB / 425.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.2485, allocations: 1.3 MB / 427.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004805/0.249, allocations: 11.94 kB / 427.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.2495, allocations: 170.5 kB / 427.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.2504, allocations: 333.2 kB / 427.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.251, allocations: 227.6 kB / 428 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.2527, allocations: 1.183 MB / 429.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005423/0.2532, allocations: 214.1 kB / 429.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.2538, allocations: 454.4 kB / 429.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/0.2545, allocations: 0.5096 MB / 430.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.2546, allocations: 100 kB / 430.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.2548, allocations: 108 kB / 430.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.255, allocations: 219.3 kB / 430.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005098/0.2555, allocations: 0.521 MB / 431.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.2569, allocations: 1.201 MB / 432.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.2569, allocations: 7.984 kB / 432.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2569, allocations: 0 / 432.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.2569, allocations: 0 / 432.5 MB, free: 3.461 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002705/0.2596, allocations: 1.363 MB / 433.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2597, allocations: 15.89 kB / 433.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.2598, allocations: 112.3 kB / 434 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.2608, allocations: 0.5993 MB / 434.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.2611, allocations: 143 kB / 434.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.2612, allocations: 64.08 kB / 434.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.2626, allocations: 0.8509 MB / 435.6 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.2626, allocations: 4 kB / 435.6 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.2627, allocations: 24 kB / 435.6 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.2627, allocations: 16 kB / 435.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.2643, allocations: 0.5946 MB / 436.2 MB, free: 15.45 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.003386/0.2676, allocations: 2.058 MB / 438.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.269, allocations: 0.8039 MB / 439.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007849/0.2698, allocations: 354.6 kB / 439.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/0.2698, allocations: 20.59 kB / 439.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.2699, allocations: 47.22 kB / 439.5 MB, free: 12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.484e-06/0.2699, allocations: 0 / 439.5 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005088/0.275, allocations: 1.797 MB / 441.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004823/0.2755, allocations: 0.8234 MB / 442.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.2763, allocations: 0.6371 MB / 442.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.2763, allocations: 45.7 kB / 442.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.2766, allocations: 341.4 kB / 443.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.2769, allocations: 261.7 kB / 443.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.2771, allocations: 146.7 kB / 443.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.2774, allocations: 386.7 kB / 443.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.278, allocations: 277.8 kB / 444.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009332/0.279, allocations: 0.5507 MB / 444.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.2803, allocations: 0.6777 MB / 445.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2803, allocations: 4 kB / 445.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002709/0.283, allocations: 1.091 MB / 446.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.2832, allocations: 92.55 kB / 446.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2832, allocations: 0 / 446.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006752/0.2838, allocations: 235.2 kB / 446.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.2845, allocations: 143.8 kB / 447 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008528/0.293, allocations: 6.932 MB / 453.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/0.2938, allocations: 99.48 kB / 454 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.2938, allocations: 28 kB / 454 MB, free: 12.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.2942, allocations: 217.7 kB / 454.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.2943, allocations: 95.44 kB / 454.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.2945, allocations: 91.33 kB / 454.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2945, allocations: 11.94 kB / 454.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2945, allocations: 0 / 454.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002441/0.297, allocations: 1.233 MB / 455.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.3007, allocations: 1.92 MB / 457.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3007, allocations: 0 / 457.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.3014, allocations: 139.8 kB / 457.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005502/0.302, allocations: 198.5 kB / 457.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.302, allocations: 15.98 kB / 457.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006917/0.3089, allocations: 5.342 MB / 463.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3089, allocations: 4.125 kB / 463.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.3123, allocations: 1.392 MB / 464.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.3128, allocations: 248.3 kB / 464.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.3129, allocations: 20 kB / 464.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.3135, allocations: 51.95 kB / 465 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.3137, allocations: 64.75 kB / 465.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.3137, allocations: 20.06 kB / 465.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005927/0.3143, allocations: 455.1 kB / 465.5 MB, free: 256 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3143, allocations: 0 / 465.5 MB, free: 256 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008625/0.3152, allocations: 279.8 kB / 465.8 MB, free: 15.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.3154, allocations: 135.6 kB / 465.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.3177, allocations: 1.313 MB / 467.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3177, allocations: 4 kB / 467.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.3191, allocations: 0.7418 MB / 468 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/0.3201, allocations: 230.8 kB / 468.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.3229, allocations: 1.627 MB / 469.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.3236, allocations: 0.944 MB / 470.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003934/0.3239, allocations: 98.44 kB / 470.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3241, allocations: 67.42 kB / 470.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3241, allocations: 4 kB / 470.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Templates: time 0.03286/0.357, allocations: 19.01 MB / 490 MB, free: 7.887 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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: 5.260496066883206]