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.ParallelCooling.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.ParallelCooling,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.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,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.ParallelCooling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 179.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.453/1.453, allocations: 205.6 MB / 223.7 MB, free: 8.945 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.0008176/0.0008176, allocations: 103.1 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2434, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003607/0.2471, allocations: 4.312 MB / 380.9 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2487, allocations: 1.462 MB / 382.4 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.249, allocations: 12.56 kB / 382.4 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.2493, allocations: 129.1 kB / 382.5 MB, free: 40.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.2498, allocations: 282.7 kB / 382.8 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.2501, allocations: 197.2 kB / 383 MB, free: 40.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000805/0.2509, allocations: 1.098 MB / 384.1 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.2512, allocations: 305.4 kB / 384.4 MB, free: 39.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.2516, allocations: 393.4 kB / 384.8 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.252, allocations: 468.5 kB / 385.2 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.2521, allocations: 65.09 kB / 385.3 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.2523, allocations: 66.59 kB / 385.4 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2524, allocations: 176.7 kB / 385.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.2528, allocations: 0.4988 MB / 386 MB, free: 38.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007221/0.2535, allocations: 1.106 MB / 387.1 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2535, allocations: 4 kB / 387.1 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.2536, allocations: 5.406 kB / 387.1 MB, free: 37.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.2536, allocations: 3.938 kB / 387.1 MB, free: 37.68 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001653/0.2552, allocations: 1.165 MB / 388.3 MB, free: 36.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2553, allocations: 8.031 kB / 388.3 MB, free: 36.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.2554, allocations: 107.8 kB / 388.4 MB, free: 36.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.256, allocations: 0.5396 MB / 389 MB, free: 35.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.2562, allocations: 155 kB / 389.1 MB, free: 35.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.2563, allocations: 56.38 kB / 389.2 MB, free: 35.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.2573, allocations: 0.855 MB / 390 MB, free: 34.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2573, allocations: 0 / 390 MB, free: 34.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.2574, allocations: 28 kB / 390 MB, free: 34.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2574, allocations: 16 kB / 390.1 MB, free: 34.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009797/0.2584, allocations: 0.579 MB / 390.6 MB, free: 34.13 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.0026/0.261, allocations: 2.119 MB / 392.8 MB, free: 31.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.2625, allocations: 1.003 MB / 393.8 MB, free: 30.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.2631, allocations: 382.4 kB / 394.1 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.2632, allocations: 20.62 kB / 394.2 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2632, allocations: 51.77 kB / 394.2 MB, free: 30.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.2632, allocations: 0 / 394.2 MB, free: 30.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004157/0.2674, allocations: 1.879 MB / 396.1 MB, free: 28.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.2675, allocations: 0.8234 MB / 396.9 MB, free: 27.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.2681, allocations: 0.6371 MB / 397.5 MB, free: 26.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.2681, allocations: 45.64 kB / 397.6 MB, free: 26.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2683, allocations: 333.1 kB / 397.9 MB, free: 26.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.2685, allocations: 248.3 kB / 398.2 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.2685, allocations: 16 kB / 398.2 MB, free: 26.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.2686, allocations: 390.7 kB / 398.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.2691, allocations: 257.9 kB / 398.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.2697, allocations: 0.5351 MB / 399.3 MB, free: 24.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009162/0.2706, allocations: 0.6506 MB / 400 MB, free: 24.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2706, allocations: 0 / 400 MB, free: 24.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00207/0.2727, allocations: 1.122 MB / 401.1 MB, free: 22.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.2727, allocations: 81.11 kB / 401.2 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2728, allocations: 0 / 401.2 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.2734, allocations: 247.3 kB / 401.4 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.2739, allocations: 131.8 kB / 401.6 MB, free: 22.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.2797, allocations: 6.499 MB / 408.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008553/0.2806, allocations: 111.4 kB / 408.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.2806, allocations: 24 kB / 408.2 MB, free: 15.34 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 (70): * Single equations (assignments): 63 * 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.000272/0.2809, allocations: 221.7 kB / 408.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.281, allocations: 83.06 kB / 408.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.2812, allocations: 99.27 kB / 408.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2812, allocations: 8 kB / 408.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2812, allocations: 3.938 kB / 408.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00189/0.2831, allocations: 1.249 MB / 409.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.286, allocations: 1.922 MB / 411.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.286, allocations: 0 / 411.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.2866, allocations: 135.9 kB / 411.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/0.2871, allocations: 214.4 kB / 412.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.2872, allocations: 23.92 kB / 412.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.2915, allocations: 4.985 MB / 417.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2916, allocations: 4.031 kB / 417.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.294, allocations: 1.385 MB / 418.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.2944, allocations: 243.9 kB / 418.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2945, allocations: 16 kB / 418.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.2951, allocations: 47.91 kB / 418.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.2953, allocations: 68.5 kB / 418.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.2953, allocations: 16.19 kB / 418.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004377/0.2957, allocations: 455 kB / 419.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2957, allocations: 4 kB / 419.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007688/0.2965, allocations: 279.7 kB / 419.6 MB, free: 3.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.00014/0.2967, allocations: 127.2 kB / 419.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.2982, allocations: 1.321 MB / 421.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2982, allocations: 0 / 421.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007466/0.299, allocations: 0.6991 MB / 421.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009443/0.2999, allocations: 219.9 kB / 422 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.3025, allocations: 1.987 MB / 424 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.3031, allocations: 0.9362 MB / 424.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004159/0.3035, allocations: 102.4 kB / 425 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.3037, allocations: 63.42 kB / 425.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3037, allocations: 0 / 425.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of Templates: time 0.02599/0.3297, allocations: 16.56 MB / 441.6 MB, free: 13.08 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches