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.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009401/0.0009403, allocations: 174.2 kB / 17.36 MB, free: 4.445 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.607/1.607, allocations: 205.6 MB / 223.7 MB, free: 8.93 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.0006809/0.0006807, allocations: 82.42 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002606, allocations: 12 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 47.57 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003689/0.2722, allocations: 3.172 MB / 379.8 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.274, allocations: 1.001 MB / 380.8 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.2743, allocations: 9.281 kB / 380.8 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.2746, allocations: 92.58 kB / 380.9 MB, free: 42.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.275, allocations: 174.2 kB / 381 MB, free: 42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.2753, allocations: 115.9 kB / 381.2 MB, free: 41.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.2759, allocations: 0.6442 MB / 381.8 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.2763, allocations: 171.7 kB / 382 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.2766, allocations: 230.4 kB / 382.2 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.277, allocations: 277.1 kB / 382.5 MB, free: 41.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.279e-05/0.2771, allocations: 35.72 kB / 382.5 MB, free: 41.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2772, allocations: 35.31 kB / 382.5 MB, free: 41.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.463e-05/0.2773, allocations: 102.9 kB / 382.6 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.2776, allocations: 311 kB / 382.9 MB, free: 40.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.2783, allocations: 0.6496 MB / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2783, allocations: 4 kB / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2783, allocations: 0 / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2783, allocations: 0 / 383.6 MB, free: 40.33 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001445/0.2798, allocations: 0.8047 MB / 384.4 MB, free: 39.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.2798, allocations: 10.25 kB / 384.4 MB, free: 39.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.28, allocations: 64.69 kB / 384.5 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.2806, allocations: 441 kB / 384.9 MB, free: 39.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.2808, allocations: 82.3 kB / 385 MB, free: 39.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.2809, allocations: 41.19 kB / 385 MB, free: 39.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.2818, allocations: 0.5017 MB / 385.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2819, allocations: 0 / 385.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.2819, allocations: 13.19 kB / 385.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.2819, allocations: 8.062 kB / 385.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.2829, allocations: 382.4 kB / 385.9 MB, free: 38.62 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.001938/0.2848, allocations: 1.304 MB / 387.2 MB, free: 37.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.2855, allocations: 413.6 kB / 387.6 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.2859, allocations: 204.8 kB / 387.8 MB, free: 36.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.286, allocations: 4 kB / 387.8 MB, free: 36.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.286, allocations: 42.56 kB / 387.9 MB, free: 36.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.286, allocations: 0 / 387.9 MB, free: 36.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001503/0.2875, allocations: 0.7861 MB / 388.7 MB, free: 36.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.2876, allocations: 444.9 kB / 389.1 MB, free: 35.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.288, allocations: 461.9 kB / 389.5 MB, free: 35.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.2881, allocations: 33.7 kB / 389.6 MB, free: 35.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2882, allocations: 244.4 kB / 389.8 MB, free: 34.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.2883, allocations: 114.3 kB / 389.9 MB, free: 34.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.2883, allocations: 12 kB / 389.9 MB, free: 34.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.2884, allocations: 358.7 kB / 390.3 MB, free: 34.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.2888, allocations: 155.9 kB / 390.4 MB, free: 34.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.2892, allocations: 310.5 kB / 390.7 MB, free: 33.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.29, allocations: 381.2 kB / 391.1 MB, free: 33.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.29, allocations: 4 kB / 391.1 MB, free: 33.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008948/0.2909, allocations: 0.5212 MB / 391.6 MB, free: 32.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.2909, allocations: 29.7 kB / 391.7 MB, free: 32.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2909, allocations: 0 / 391.7 MB, free: 32.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.2911, allocations: 61.62 kB / 391.7 MB, free: 32.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.2915, allocations: 99.81 kB / 391.8 MB, free: 32.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.2933, allocations: 2.744 MB / 394.6 MB, free: 29.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.2938, allocations: 67.69 kB / 394.6 MB, free: 29.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.2939, allocations: 16 kB / 394.6 MB, free: 29.56 MB / 298.7 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 (37): * Single equations (assignments): 34 * 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.0001986/0.2941, allocations: 173.7 kB / 394.8 MB, free: 29.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.2941, allocations: 59.28 kB / 394.9 MB, free: 29.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.2942, allocations: 48.77 kB / 394.9 MB, free: 29.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2942, allocations: 4 kB / 394.9 MB, free: 29.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2942, allocations: 0 / 394.9 MB, free: 29.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008361/0.2951, allocations: 0.7751 MB / 395.7 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.2965, allocations: 1.06 MB / 396.8 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2966, allocations: 4 kB / 396.8 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.297, allocations: 91.88 kB / 396.9 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.297, allocations: 4 kB / 396.9 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.297, allocations: 11.98 kB / 396.9 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.297, allocations: 0 / 396.9 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.297, allocations: 0 / 396.9 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.2983, allocations: 0.7171 MB / 397.6 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.2985, allocations: 168.5 kB / 397.8 MB, free: 26.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.2986, allocations: 16 kB / 397.8 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.2989, allocations: 39.95 kB / 397.8 MB, free: 26.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.299, allocations: 19.97 kB / 397.8 MB, free: 26.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.2991, allocations: 12 kB / 397.8 MB, free: 26.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002983/0.2994, allocations: 323.1 kB / 398.2 MB, free: 25.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2994, allocations: 4 kB / 398.2 MB, free: 25.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000439/0.2998, allocations: 143.7 kB / 398.3 MB, free: 25.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.2999, allocations: 115.5 kB / 398.4 MB, free: 25.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3011, allocations: 0.6809 MB / 399.1 MB, free: 24.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3011, allocations: 0 / 399.1 MB, free: 24.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.3015, allocations: 203.8 kB / 399.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.3022, allocations: 134 kB / 399.4 MB, free: 24.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.3037, allocations: 1.157 MB / 400.6 MB, free: 23.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3039, allocations: 0.8275 MB / 401.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.3042, allocations: 68.33 kB / 401.5 MB, free: 22.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.3043, allocations: 39.44 kB / 401.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3043, allocations: 0 / 401.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of Templates: time 0.01292/0.3173, allocations: 8.178 MB / 409.7 MB, free: 14.25 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches