Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 177.7 kB / 17.36 MB, free: 4.328 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 90.44 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.008096/0.3506, allocations: 4.408 MB / 381 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.355, allocations: 1.477 MB / 382.5 MB, free: 40.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.3562, allocations: 16.28 kB / 382.5 MB, free: 40.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008335/0.3571, allocations: 124.2 kB / 382.6 MB, free: 40.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.3587, allocations: 290.4 kB / 382.9 MB, free: 40.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007877/0.3596, allocations: 192.4 kB / 383.1 MB, free: 40.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002211/0.3618, allocations: 1.119 MB / 384.2 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007427/0.3626, allocations: 286.1 kB / 384.5 MB, free: 39.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3637, allocations: 411.4 kB / 384.9 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.365, allocations: 471 kB / 385.3 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004317/0.3655, allocations: 65.59 kB / 385.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000845/0.3664, allocations: 67.06 kB / 385.5 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.3668, allocations: 188.2 kB / 385.7 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.3684, allocations: 0.5093 MB / 386.2 MB, free: 38.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.3702, allocations: 1.128 MB / 387.3 MB, free: 37.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.3702, allocations: 0 / 387.3 MB, free: 37.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3702, allocations: 1.469 kB / 387.3 MB, free: 37.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.3702, allocations: 0 / 387.3 MB, free: 37.54 MB / 298.7 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.002689/0.3729, allocations: 1.208 MB / 388.5 MB, free: 36.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.373, allocations: 8.031 kB / 388.5 MB, free: 36.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.3733, allocations: 107.8 kB / 388.6 MB, free: 36.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3743, allocations: 0.5871 MB / 389.2 MB, free: 35.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/0.3746, allocations: 170.9 kB / 389.4 MB, free: 35.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3747, allocations: 64.12 kB / 389.4 MB, free: 35.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.3764, allocations: 0.8705 MB / 390.3 MB, free: 34.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.3764, allocations: 7.938 kB / 390.3 MB, free: 34.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.3765, allocations: 27.98 kB / 390.3 MB, free: 34.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3765, allocations: 12 kB / 390.4 MB, free: 34.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.3784, allocations: 0.6609 MB / 391 MB, free: 33.73 MB / 298.7 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.003693/0.3821, allocations: 2.077 MB / 393.1 MB, free: 31.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3836, allocations: 0.9027 MB / 394 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009003/0.3845, allocations: 425.5 kB / 394.4 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-05/0.3846, allocations: 12.64 kB / 394.4 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.3847, allocations: 51.2 kB / 394.5 MB, free: 30.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 3.888e-06/0.3847, allocations: 0 / 394.5 MB, free: 30.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.006191/0.3909, allocations: 1.988 MB / 396.5 MB, free: 28.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002295/0.3911, allocations: 0.8273 MB / 397.3 MB, free: 27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3922, allocations: 0.6215 MB / 397.9 MB, free: 26.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.3924, allocations: 45.7 kB / 398 MB, free: 26.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.3927, allocations: 333 kB / 398.3 MB, free: 25.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.393, allocations: 260.2 kB / 398.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.393, allocations: 12 kB / 398.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3932, allocations: 390.8 kB / 398.9 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.3939, allocations: 301.8 kB / 399.2 MB, free: 25.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/0.3947, allocations: 0.5702 MB / 399.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.3959, allocations: 0.7442 MB / 400.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.396, allocations: 0 / 400.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00247/0.3984, allocations: 1.196 MB / 401.7 MB, free: 22.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.3985, allocations: 85.09 kB / 401.8 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3985, allocations: 4 kB / 401.8 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.3992, allocations: 247.3 kB / 402.1 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.3998, allocations: 151.8 kB / 402.2 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006341/0.4062, allocations: 6.506 MB / 408.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.4074, allocations: 123.4 kB / 408.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.4075, allocations: 20 kB / 408.9 MB, free: 14.66 MB / 298.7 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.0006206/0.4081, allocations: 221.7 kB / 409.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/0.4085, allocations: 87.06 kB / 409.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.4087, allocations: 91.33 kB / 409.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.4087, allocations: 8 kB / 409.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.4087, allocations: 3.938 kB / 409.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00232/0.411, allocations: 1.338 MB / 410.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.4146, allocations: 2.035 MB / 412.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4147, allocations: 0 / 412.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.4153, allocations: 147.8 kB / 412.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.4158, allocations: 222.4 kB / 413 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.4159, allocations: 12 kB / 413 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004932/0.4208, allocations: 5.055 MB / 418.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4208, allocations: 4.062 kB / 418.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.4239, allocations: 1.515 MB / 419.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.4243, allocations: 239.8 kB / 419.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.4245, allocations: 23.98 kB / 419.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/0.4252, allocations: 71.89 kB / 419.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.4254, allocations: 56.56 kB / 420 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.4254, allocations: 27.98 kB / 420 MB, free: 2.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004928/0.4259, allocations: 451 kB / 420.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4259, allocations: 0 / 420.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009399/0.4269, allocations: 279.7 kB / 420.7 MB, free: 2.172 MB / 298.7 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.0001901/0.4271, allocations: 127.2 kB / 420.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.4292, allocations: 1.403 MB / 422.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4292, allocations: 4.125 kB / 422.2 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.4305, allocations: 0.8197 MB / 423.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4316, allocations: 223.1 kB / 423.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.435, allocations: 1.988 MB / 425.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.4356, allocations: 0.944 MB / 426.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004955/0.4361, allocations: 94.44 kB / 426.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.4363, allocations: 67.42 kB / 426.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4363, allocations: 3.938 kB / 426.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of Templates: time 0.03185/0.4682, allocations: 16.92 MB / 443.3 MB, free: 11.41 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches