Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9148/0.9148, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 324.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.619e-05, allocations: 6.219 kB / 324.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004991/0.005017, allocations: 4.65 MB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005779/0.005595, allocations: 0.5762 MB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.005645, allocations: 0 / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.005903, allocations: 31.77 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.007226, allocations: 0.6224 MB / 330.4 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.007416, allocations: 87.84 kB / 330.5 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.007871, allocations: 187.1 kB / 330.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.00791, allocations: 8 kB / 330.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007922/0.008702, allocations: 0.647 MB / 331.3 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.008765, allocations: 39.89 kB / 331.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.008782, allocations: 7.938 kB / 331.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.009787, allocations: 0.9084 MB / 332.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.009842, allocations: 23.91 kB / 332.3 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.009888, allocations: 35.91 kB / 332.4 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.01025, allocations: 263.3 kB / 332.6 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01025, allocations: 0 / 332.6 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01026, allocations: 0 / 332.6 MB, free: 7.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.01026, allocations: 4 kB / 332.6 MB, free: 7.707 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000415/0.01068, allocations: 352.5 kB / 333 MB, free: 7.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.01072, allocations: 12.03 kB / 333 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.01075, allocations: 42.75 kB / 333 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.01099, allocations: 28.86 kB / 333 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.01121, allocations: 137.6 kB / 333.2 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.01122, allocations: 8.375 kB / 333.2 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.01123, allocations: 4.375 kB / 333.2 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.01146, allocations: 226.2 kB / 333.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.01146, allocations: 4 kB / 333.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.01148, allocations: 7.938 kB / 333.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01148, allocations: 4 kB / 333.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.01161, allocations: 107.8 kB / 333.5 MB, free: 6.695 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.0005426/0.01215, allocations: 0.5705 MB / 334.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.01228, allocations: 86.48 kB / 334.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.01233, allocations: 32.84 kB / 334.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.01251, allocations: 55.95 kB / 334.3 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.01253, allocations: 30.56 kB / 334.3 MB, free: 5.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.01253, allocations: 4 kB / 334.3 MB, free: 5.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002298/0.01276, allocations: 137.1 kB / 334.4 MB, free: 5.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.01279, allocations: 55.34 kB / 334.5 MB, free: 5.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.01287, allocations: 125.7 kB / 334.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.01289, allocations: 25.7 kB / 334.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.01294, allocations: 104 kB / 334.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.01296, allocations: 47.53 kB / 334.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.01301, allocations: 37.7 kB / 334.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.01309, allocations: 322.8 kB / 335.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.679e-05/0.01313, allocations: 19.98 kB / 335.2 MB, free: 4.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.01318, allocations: 73.14 kB / 335.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.01329, allocations: 105.1 kB / 335.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01329, allocations: 3.938 kB / 335.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001392/0.01343, allocations: 137.5 kB / 335.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01344, allocations: 8.156 kB / 335.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01345, allocations: 4 kB / 335.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01346, allocations: 0 / 335.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.01355, allocations: 35.92 kB / 335.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01355, allocations: 3.938 kB / 335.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/0.01359, allocations: 11.95 kB / 335.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.0136, allocations: 8 kB / 335.5 MB, free: 4.508 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 prepare postOptimizeDAE: time 6.996e-05/0.01367, allocations: 130.1 kB / 335.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.01369, allocations: 7.953 kB / 335.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.01389, allocations: 141.3 kB / 335.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01389, allocations: 3.984 kB / 335.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.0139, allocations: 3.938 kB / 335.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.0139, allocations: 4 kB / 335.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.01421, allocations: 353.5 kB / 336.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01421, allocations: 0 / 336.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.01426, allocations: 23.98 kB / 336.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01426, allocations: 3.938 kB / 336.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01427, allocations: 4 kB / 336.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01427, allocations: 3.938 kB / 336.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01427, allocations: 8 kB / 336.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.0144, allocations: 191.5 kB / 336.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.01443, allocations: 31.84 kB / 336.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.01445, allocations: 7.938 kB / 336.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.01451, allocations: 0 / 336.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.01452, allocations: 7.984 kB / 336.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.01453, allocations: 12 kB / 336.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.79e-05/0.01457, allocations: 91.27 kB / 336.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01457, allocations: 0 / 336.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.01481, allocations: 55.88 kB / 336.6 MB, free: 3.371 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.000491/0.0153, allocations: 0.8136 MB / 337.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.01543, allocations: 75.53 kB / 337.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01543, allocations: 4.312 kB / 337.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.01547, allocations: 39.92 kB / 337.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.01576, allocations: 51.12 kB / 337.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.01707, allocations: 1.555 MB / 339.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.077e-05/0.01713, allocations: 79.58 kB / 339.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.763e-05/0.01722, allocations: 33.02 kB / 339.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.01728, allocations: 32.48 kB / 339.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01728, allocations: 0 / 339.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.03572, allocations: 4.665 MB / 344 MB, free: 12.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.943, allocations: 0 / 344 MB, free: 12.03 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium.T in file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.77451848052442]