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.0009442/0.0009442, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.001595/0.001595, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8668/0.8668, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.004e-06/2.004e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.313e-05, allocations: 12.89 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006709/0.006743, allocations: 4.639 MB / 329.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.00759, allocations: 0.5723 MB / 329.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.007653, allocations: 4 kB / 329.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.007896, allocations: 31.66 kB / 329.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.00933, allocations: 0.6186 MB / 330.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.009519, allocations: 87.8 kB / 330.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.009715, allocations: 191.1 kB / 330.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.009759, allocations: 7.984 kB / 330.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008075/0.01057, allocations: 0.6469 MB / 331.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.01063, allocations: 43.89 kB / 331.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.01064, allocations: 4 kB / 331.4 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008142/0.01145, allocations: 0.9084 MB / 332.3 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.0115, allocations: 23.91 kB / 332.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.01154, allocations: 39.91 kB / 332.4 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.01186, allocations: 255.3 kB / 332.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01186, allocations: 3.938 kB / 332.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01186, allocations: 4 kB / 332.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.01187, allocations: 4 kB / 332.6 MB, free: 7.836 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.0003748/0.01224, allocations: 348.6 kB / 333 MB, free: 7.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.01228, allocations: 8.031 kB / 333 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.01231, allocations: 42.73 kB / 333 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.01252, allocations: 36.86 kB / 333.1 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.01272, allocations: 133.6 kB / 333.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.01273, allocations: 4.375 kB / 333.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.01274, allocations: 12.38 kB / 333.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.01294, allocations: 218.2 kB / 333.4 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.01295, allocations: 7.938 kB / 333.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.01296, allocations: 7.938 kB / 333.4 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.01297, allocations: 4 kB / 333.4 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.01308, allocations: 103.9 kB / 333.5 MB, free: 6.832 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.0004617/0.01354, allocations: 0.5743 MB / 334.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.01365, allocations: 81.73 kB / 334.2 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.01369, allocations: 40.84 kB / 334.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.01385, allocations: 59.88 kB / 334.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.01387, allocations: 34.56 kB / 334.3 MB, free: 5.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.01387, allocations: 4 kB / 334.3 MB, free: 5.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001991/0.01407, allocations: 121.9 kB / 334.4 MB, free: 5.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.0141, allocations: 55.41 kB / 334.5 MB, free: 5.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.01417, allocations: 125.7 kB / 334.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.01418, allocations: 29.7 kB / 334.6 MB, free: 5.609 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.01422, allocations: 95.98 kB / 334.7 MB, free: 5.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.01425, allocations: 59.52 kB / 334.8 MB, free: 5.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.01428, allocations: 33.7 kB / 334.8 MB, free: 5.414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.01436, allocations: 318.8 kB / 335.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.01439, allocations: 27.94 kB / 335.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.01444, allocations: 73.12 kB / 335.2 MB, free: 4.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.01453, allocations: 101.1 kB / 335.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01453, allocations: 0 / 335.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001255/0.01465, allocations: 140.9 kB / 335.5 MB, free: 4.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01467, allocations: 11.11 kB / 335.5 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01467, allocations: 4 kB / 335.5 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01468, allocations: 4 kB / 335.5 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.01476, allocations: 35.92 kB / 335.5 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01477, allocations: 7.938 kB / 335.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.0148, allocations: 7.953 kB / 335.5 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01481, allocations: 12 kB / 335.6 MB, free: 4.641 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.232e-05/0.01488, allocations: 122.1 kB / 335.7 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.01489, allocations: 7.953 kB / 335.7 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.01506, allocations: 146 kB / 335.8 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01507, allocations: 0 / 335.8 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01507, allocations: 3.938 kB / 335.8 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01507, allocations: 0 / 335.8 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.01534, allocations: 365.5 kB / 336.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01534, allocations: 0 / 336.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.01538, allocations: 23.92 kB / 336.2 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01538, allocations: 3.938 kB / 336.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.01538, allocations: 4 kB / 336.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01539, allocations: 0 / 336.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01539, allocations: 4 kB / 336.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.0155, allocations: 203.4 kB / 336.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.01552, allocations: 19.88 kB / 336.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.01554, allocations: 7.938 kB / 336.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.01559, allocations: 7.984 kB / 336.5 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.01561, allocations: 7.984 kB / 336.5 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01561, allocations: 4 kB / 336.5 MB, free: 3.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.242e-05/0.01565, allocations: 91.27 kB / 336.6 MB, free: 3.562 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01565, allocations: 0 / 336.6 MB, free: 3.562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.01586, allocations: 63.88 kB / 336.6 MB, free: 3.5 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.0004067/0.01627, allocations: 0.8052 MB / 337.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.01639, allocations: 79.91 kB / 337.5 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01639, allocations: 320 / 337.5 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.01643, allocations: 43.92 kB / 337.5 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01669, allocations: 44.16 kB / 337.6 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.01767, allocations: 1.551 MB / 339.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.136e-05/0.01772, allocations: 83.58 kB / 339.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.844e-05/0.0178, allocations: 33.02 kB / 339.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.01784, allocations: 28.5 kB / 339.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01784, allocations: 3.938 kB / 339.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.03274, allocations: 4.665 MB / 344 MB, free: 12.16 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.342/6.375, allocations: 8.5 kB / 344 MB, free: 12.16 MB / 314.7 MB " [Timeout remaining time 654] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.015381315723062]