Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008886/0.0008887, allocations: 183.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 225.7 MB / 243.2 MB, free: 8.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007424/0.0007424, allocations: 96.94 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 8 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003273/0.2316, allocations: 3.015 MB / 407.6 MB, free: 28.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2331, allocations: 0.9287 MB / 408.5 MB, free: 27.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.2334, allocations: 7.938 kB / 408.5 MB, free: 27.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.2337, allocations: 87.42 kB / 408.6 MB, free: 27.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.2341, allocations: 162.7 kB / 408.8 MB, free: 27.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.2344, allocations: 107.8 kB / 408.9 MB, free: 27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005729/0.235, allocations: 0.6068 MB / 409.5 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.2353, allocations: 176.5 kB / 409.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.2355, allocations: 219.1 kB / 409.9 MB, free: 26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.2358, allocations: 242.9 kB / 410.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.2359, allocations: 43.94 kB / 410.1 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.236, allocations: 32 kB / 410.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.2361, allocations: 107.5 kB / 410.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.2364, allocations: 288.4 kB / 410.6 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.2369, allocations: 0.6109 MB / 411.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2369, allocations: 0 / 411.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2369, allocations: 0 / 411.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.237, allocations: 0 / 411.2 MB, free: 24.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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001209/0.2382, allocations: 0.7545 MB / 411.9 MB, free: 23.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2382, allocations: 12.03 kB / 411.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2384, allocations: 64.28 kB / 412 MB, free: 23.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.2389, allocations: 394.6 kB / 412.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.239, allocations: 58.91 kB / 412.4 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.2391, allocations: 36.38 kB / 412.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.2399, allocations: 453.1 kB / 412.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.2399, allocations: 4 kB / 412.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.24, allocations: 16 kB / 412.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.24, allocations: 15.98 kB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.2407, allocations: 282.4 kB / 413.2 MB, free: 22.46 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.002199/0.2429, allocations: 1.298 MB / 414.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.2443, allocations: 432.5 kB / 415 MB, free: 20.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.2447, allocations: 140.8 kB / 415.1 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.2447, allocations: 11.98 kB / 415.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.2447, allocations: 42.5 kB / 415.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.2447, allocations: 7.938 kB / 415.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001342/0.2461, allocations: 0.612 MB / 415.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.2462, allocations: 445 kB / 416.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.2468, allocations: 449.9 kB / 416.6 MB, free: 18.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2468, allocations: 33.7 kB / 416.7 MB, free: 18.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.247, allocations: 232.5 kB / 416.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.2471, allocations: 114.3 kB / 417 MB, free: 18.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.2471, allocations: 8 kB / 417 MB, free: 18.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.2472, allocations: 358.8 kB / 417.4 MB, free: 18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.2475, allocations: 112.6 kB / 417.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.2479, allocations: 256 kB / 417.7 MB, free: 17.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.2485, allocations: 281.5 kB / 418 MB, free: 17.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2485, allocations: 4 kB / 418 MB, free: 17.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008679/0.2494, allocations: 420.3 kB / 418.4 MB, free: 16.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.2495, allocations: 37.69 kB / 418.5 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.2495, allocations: 0 / 418.5 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.2497, allocations: 49.73 kB / 418.5 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.2501, allocations: 75.92 kB / 418.6 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.2521, allocations: 2.752 MB / 421.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.2526, allocations: 47.72 kB / 421.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.2527, allocations: 8 kB / 421.4 MB, free: 13.62 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 (36): * Single equations (assignments): 33 * 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.0002029/0.2529, allocations: 173.7 kB / 421.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.253, allocations: 47.44 kB / 421.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.2531, allocations: 56.69 kB / 421.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2531, allocations: 4.234 kB / 421.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2531, allocations: 0 / 421.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006929/0.2538, allocations: 0.6578 MB / 422.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.2553, allocations: 0.9069 MB / 423.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2553, allocations: 0 / 423.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.2557, allocations: 75.89 kB / 423.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2558, allocations: 0 / 423.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.2558, allocations: 8 kB / 423.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2558, allocations: 4 kB / 423.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2558, allocations: 3.938 kB / 423.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009863/0.2568, allocations: 0.5328 MB / 423.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.257, allocations: 164.5 kB / 424 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.2571, allocations: 8 kB / 424 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.2576, allocations: 15.98 kB / 424 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2576, allocations: 23.92 kB / 424.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.2577, allocations: 7.984 kB / 424.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004006/0.2581, allocations: 319.1 kB / 424.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2581, allocations: 0 / 424.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005922/0.2587, allocations: 135.9 kB / 424.5 MB, free: 10.29 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 (32): * Single equations (assignments): 32 * 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.000115/0.2588, allocations: 111.2 kB / 424.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009754/0.2598, allocations: 0.5672 MB / 425.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2598, allocations: 4 kB / 425.2 MB, free: 9.566 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.2601, allocations: 127.8 kB / 425.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.2611, allocations: 129.8 kB / 425.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2628, allocations: 1.101 MB / 426.5 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.263, allocations: 0.8201 MB / 427.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.2634, allocations: 60.34 kB / 427.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.2635, allocations: 39.44 kB / 427.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2636, allocations: 0 / 427.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of Templates: time 0.01633/0.2799, allocations: 7.606 MB / 435.1 MB, free: 15.68 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches