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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 101.8 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 189.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000956/0.0009561, allocations: 39.91 kB / 300.1 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08501/0.08598, allocations: 49.45 MB / 349.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005573/0.09159, allocations: 5.039 MB / 354.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.09395, allocations: 1.289 MB / 355.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005296/0.0945, allocations: 11.94 kB / 355.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.09506, allocations: 123.1 kB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007976/0.09587, allocations: 285.7 kB / 356.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.09637, allocations: 203.7 kB / 356.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.09771, allocations: 1.181 MB / 357.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.09816, allocations: 314.3 kB / 358 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.09871, allocations: 454.4 kB / 358.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000628/0.09934, allocations: 0.5018 MB / 358.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.09954, allocations: 104 kB / 359 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.09975, allocations: 108 kB / 359.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.09993, allocations: 223.2 kB / 359.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.1005, allocations: 0.5289 MB / 359.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.1017, allocations: 1.184 MB / 361.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1017, allocations: 0 / 361.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1017, allocations: 0 / 361.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.314e-05/0.1017, allocations: 0 / 361.1 MB, free: 9.199 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.002577/0.1043, allocations: 1.341 MB / 362.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1044, allocations: 15.89 kB / 362.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.1046, allocations: 103.8 kB / 362.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.1055, allocations: 0.5832 MB / 363.1 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.1058, allocations: 170.9 kB / 363.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/0.1059, allocations: 64.06 kB / 363.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.1074, allocations: 0.8705 MB / 364.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1075, allocations: 0 / 364.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.1075, allocations: 24 kB / 364.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.1076, allocations: 16 kB / 364.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.1091, allocations: 0.6219 MB / 364.9 MB, free: 5.164 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.003761/0.1129, allocations: 2.061 MB / 366.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.1144, allocations: 0.8625 MB / 367.8 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008556/0.1152, allocations: 414.3 kB / 368.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.1153, allocations: 16.58 kB / 368.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.1154, allocations: 55.2 kB / 368.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.964e-06/0.1154, allocations: 0 / 368.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1495/0.2649, allocations: 1.828 MB / 370.1 MB, free: 25.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.2651, allocations: 0.8234 MB / 370.9 MB, free: 24.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/0.2659, allocations: 0.6309 MB / 371.6 MB, free: 24.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.266, allocations: 44.89 kB / 371.6 MB, free: 24.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.2662, allocations: 336.9 kB / 371.9 MB, free: 24.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.2664, allocations: 259.1 kB / 372.2 MB, free: 24.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.2667, allocations: 144.5 kB / 372.3 MB, free: 24.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2668, allocations: 387.4 kB / 372.7 MB, free: 23.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.2675, allocations: 287 kB / 373 MB, free: 23.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008774/0.2684, allocations: 0.5614 MB / 373.5 MB, free: 23.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2697, allocations: 0.7079 MB / 374.3 MB, free: 23.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2698, allocations: 1.219 kB / 374.3 MB, free: 23.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002595/0.2724, allocations: 1.114 MB / 375.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.2724, allocations: 92.36 kB / 375.5 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2724, allocations: 1.375 kB / 375.5 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/0.2731, allocations: 237.4 kB / 375.7 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.2738, allocations: 143.4 kB / 375.8 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00629/0.2801, allocations: 6.93 MB / 382.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008038/0.2809, allocations: 108.1 kB / 382.9 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.281, allocations: 24.34 kB / 382.9 MB, free: 16.25 MB / 302.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.0002788/0.2813, allocations: 222.5 kB / 383.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.2814, allocations: 92.42 kB / 383.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.2816, allocations: 92.92 kB / 383.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2816, allocations: 6.844 kB / 383.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.2816, allocations: 0.9375 kB / 383.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002421/0.284, allocations: 1.264 MB / 384.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.2877, allocations: 1.95 MB / 386.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2877, allocations: 5.328 kB / 386.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/0.2884, allocations: 146.8 kB / 386.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/0.2889, allocations: 200 kB / 386.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.289, allocations: 17.92 kB / 386.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005256/0.2943, allocations: 5.348 MB / 392.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2943, allocations: 0.6562 kB / 392.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.2974, allocations: 1.435 MB / 393.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.2977, allocations: 237.8 kB / 393.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.2978, allocations: 19.44 kB / 393.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006802/0.2985, allocations: 56.44 kB / 394 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.2987, allocations: 75.19 kB / 394 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.2987, allocations: 16.22 kB / 394.1 MB, free: 8.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004728/0.2992, allocations: 455.1 kB / 394.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2992, allocations: 0 / 394.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008304/0.3001, allocations: 282.5 kB / 394.8 MB, free: 8.293 MB / 302.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.0001431/0.3002, allocations: 122.7 kB / 394.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.3024, allocations: 1.408 MB / 396.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3024, allocations: 2.438 kB / 396.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.3036, allocations: 0.785 MB / 397.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/0.3046, allocations: 241 kB / 397.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3068, allocations: 1.885 MB / 399.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3071, allocations: 0.9386 MB / 400.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000396/0.3076, allocations: 103.6 kB / 400.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3077, allocations: 65.28 kB / 400.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3077, allocations: 0 / 400.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of Templates: time 0.02561/0.3333, allocations: 18.04 MB / 418.3 MB, free: 4.324 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (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) 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) Reference file matches