Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001352/0.001352, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001483/0.001483, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.442/1.442, allocations: 177.2 MB / 204.3 MB, free: 9.184 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.022e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006095/0.006115, allocations: 4.534 MB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.009098, allocations: 1.29 MB / 330.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007347/0.009833, allocations: 12.41 kB / 330.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.01043, allocations: 155.6 kB / 331 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.01149, allocations: 353.2 kB / 331.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.01211, allocations: 231.7 kB / 331.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.01382, allocations: 1.234 MB / 332.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.01424, allocations: 210.3 kB / 333.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.01539, allocations: 0.6808 MB / 333.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000741/0.01613, allocations: 380.9 kB / 334.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.01632, allocations: 104 kB / 334.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.01662, allocations: 106.2 kB / 334.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.01686, allocations: 224.7 kB / 334.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006259/0.01749, allocations: 383.2 kB / 334.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.01905, allocations: 1.257 MB / 336.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.01906, allocations: 1.188 kB / 336.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01906, allocations: 0 / 336.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.014e-05/0.0191, allocations: 4 kB / 336.2 MB, free: 9.152 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00298/0.02208, allocations: 1.282 MB / 337.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.02212, allocations: 10.03 kB / 337.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.02238, allocations: 118.3 kB / 337.6 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.02352, allocations: 0.5279 MB / 338.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.02385, allocations: 299 kB / 338.4 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.02396, allocations: 58.14 kB / 338.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.026, allocations: 1.606 MB / 340.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.02602, allocations: 3.938 kB / 340.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.0261, allocations: 28 kB / 340.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.02611, allocations: 12 kB / 340.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.02764, allocations: 0.5946 MB / 340.7 MB, free: 5.098 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.003217/0.03085, allocations: 1.519 MB / 342.2 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.0322, allocations: 0.5904 MB / 342.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.03305, allocations: 359.2 kB / 343.2 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.735e-05/0.0331, allocations: 8.656 kB / 343.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.03315, allocations: 51.22 kB / 343.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.03315, allocations: 0 / 343.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005261/0.03841, allocations: 1.484 MB / 344.7 MB, free: 1.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004871/0.0389, allocations: 0.8234 MB / 345.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.03968, allocations: 0.6018 MB / 346.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/0.03977, allocations: 45.7 kB / 346.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.04006, allocations: 337.2 kB / 346.5 MB, free: 14.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.04031, allocations: 277.6 kB / 346.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.04057, allocations: 142.7 kB / 346.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.04078, allocations: 382.8 kB / 347.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.04155, allocations: 347 kB / 347.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.04307, allocations: 1.395 MB / 349 MB, free: 12.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.04457, allocations: 0.6817 MB / 349.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.04458, allocations: 4 kB / 349.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002876/0.04745, allocations: 1.174 MB / 350.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.04752, allocations: 81.11 kB / 351 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.04753, allocations: 0 / 351 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000735/0.04826, allocations: 239.2 kB / 351.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.04892, allocations: 143.8 kB / 351.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008337/0.05726, allocations: 6.368 MB / 357.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.05826, allocations: 99.73 kB / 357.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.05833, allocations: 24.16 kB / 357.8 MB, free: 2.805 MB / 318.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.0003855/0.05871, allocations: 217.7 kB / 358 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.05887, allocations: 91.48 kB / 358.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.05906, allocations: 90.94 kB / 358.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.05907, allocations: 8.234 kB / 358.2 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.05907, allocations: 4 kB / 358.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002722/0.06179, allocations: 1.237 MB / 359.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.06568, allocations: 1.654 MB / 361.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.06568, allocations: 192 / 361.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.06641, allocations: 151.8 kB / 361.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005889/0.067, allocations: 194.4 kB / 361.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.06706, allocations: 19.98 kB / 361.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007012/0.07407, allocations: 4.935 MB / 366.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.07407, allocations: 0 / 366.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003697/0.07777, allocations: 1.388 MB / 367.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.07828, allocations: 167.2 kB / 368 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.0784, allocations: 16 kB / 368 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/0.07909, allocations: 51.94 kB / 368 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.07931, allocations: 68.53 kB / 368.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.07935, allocations: 20 kB / 368.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006035/0.07995, allocations: 435.1 kB / 368.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.07995, allocations: 0 / 368.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009325/0.08089, allocations: 287.7 kB / 368.8 MB, free: 7.293 MB / 334.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.0002067/0.08109, allocations: 119.1 kB / 368.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.08366, allocations: 1.392 MB / 370.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.08367, allocations: 8.125 kB / 370.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.08524, allocations: 0.7378 MB / 371.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.08636, allocations: 231.1 kB / 371.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.08944, allocations: 1.489 MB / 372.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.08985, allocations: 345.7 kB / 373.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004314/0.09028, allocations: 98.16 kB / 373.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.09048, allocations: 64.48 kB / 373.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.09048, allocations: 0 / 373.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of Templates: time 0.0324/0.1229, allocations: 19.03 MB / 392.3 MB, free: 15.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.152537532150745]