Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001352/0.001352, allocations: 115.5 kB / 17.13 MB, free: 5.891 MB / 14.72 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.001412/0.001412, allocations: 212.3 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3592/0.3592, allocations: 44.23 MB / 326.6 MB, free: 6.82 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 75.83 kB / 462.2 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2748, allocations: 60.99 MB / 0.5109 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02938/0.3042, allocations: 30.24 MB / 0.5405 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02023/0.3244, allocations: 15.56 MB / 0.5557 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.3248, allocations: 11.88 kB / 0.5557 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.3254, allocations: 222.6 kB / 0.5559 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.3261, allocations: 274.4 kB / 0.5562 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01462/0.3407, allocations: 5.622 MB / 0.5616 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.3418, allocations: 0.8186 MB / 0.5624 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.3422, allocations: 196.5 kB / 0.5626 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01165/0.3538, allocations: 5.481 MB / 0.568 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.3543, allocations: 246.9 kB / 0.5682 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.061e-05/0.3544, allocations: 28 kB / 0.5683 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.3661, allocations: 6.095 MB / 0.5742 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.3664, allocations: 91.62 kB / 0.5743 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.3667, allocations: 187.2 kB / 0.5745 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008639/0.3754, allocations: 3.652 MB / 0.578 GB, free: 10.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3754, allocations: 0 / 0.578 GB, free: 10.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3754, allocations: 3.938 kB / 0.578 GB, free: 10.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3754, allocations: 0 / 0.578 GB, free: 10.01 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002368/0.3777, allocations: 1.018 MB / 0.579 GB, free: 8.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3778, allocations: 15.89 kB / 0.579 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.439e-05/0.3779, allocations: 62.72 kB / 0.5791 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/0.3788, allocations: 112.6 kB / 0.5792 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.3794, allocations: 338.7 kB / 0.5795 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.3795, allocations: 24.94 kB / 0.5796 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3795, allocations: 28.12 kB / 0.5796 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.3807, allocations: 458.9 kB / 0.58 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3807, allocations: 0 / 0.58 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.3808, allocations: 12 kB / 0.58 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3808, allocations: 15.94 kB / 0.5801 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.3819, allocations: 365.2 kB / 0.5804 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.3852, allocations: 2.372 MB / 0.5827 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3863, allocations: 270.3 kB / 0.583 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.3866, allocations: 96.8 kB / 0.5831 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/0.387, allocations: 477.5 kB / 0.5835 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.3871, allocations: 34.56 kB / 0.5836 GB, free: 3.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.3871, allocations: 0 / 0.5836 GB, free: 3.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001795/0.3889, allocations: 457.2 kB / 0.584 GB, free: 3.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.389, allocations: 106.8 kB / 0.5841 GB, free: 3.316 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.3893, allocations: 320.5 kB / 0.5844 GB, free: 2.992 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3894, allocations: 29.7 kB / 0.5844 GB, free: 2.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3895, allocations: 216 kB / 0.5846 GB, free: 2.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.3896, allocations: 39.69 kB / 0.5847 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3897, allocations: 57.64 kB / 0.5847 GB, free: 2.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3898, allocations: 342.8 kB / 0.5851 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.3901, allocations: 79.94 kB / 0.5851 GB, free: 2.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.3905, allocations: 207.4 kB / 0.5853 GB, free: 1.961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.3912, allocations: 289.7 kB / 0.5856 GB, free: 1.629 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3912, allocations: 0 / 0.5856 GB, free: 1.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000796/0.392, allocations: 313 kB / 0.5859 GB, free: 1.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.392, allocations: 11.98 kB / 0.5859 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.392, allocations: 4.469 kB / 0.5859 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.392, allocations: 8 kB / 0.5859 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.3923, allocations: 63.84 kB / 0.586 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3923, allocations: 11.98 kB / 0.586 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.3926, allocations: 47.7 kB / 0.586 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.3926, allocations: 19.94 kB / 0.5861 GB, free: 1.152 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 0.0001805/0.3928, allocations: 153.7 kB / 0.5862 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.3929, allocations: 35.8 kB / 0.5862 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.3941, allocations: 0.7487 MB / 0.587 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.3941, allocations: 7.938 kB / 0.587 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3941, allocations: 8 kB / 0.587 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3941, allocations: 3.984 kB / 0.587 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.3948, allocations: 0.5222 MB / 0.5875 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3948, allocations: 0 / 0.5875 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.395, allocations: 43.89 kB / 0.5875 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.395, allocations: 4 kB / 0.5876 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.395, allocations: 4 kB / 0.5876 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.395, allocations: 7.922 kB / 0.5876 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.395, allocations: 0 / 0.5876 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.3959, allocations: 466 kB / 0.588 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.396, allocations: 112.8 kB / 0.5881 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.396, allocations: 27.78 kB / 0.5881 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.3963, allocations: 19.92 kB / 0.5882 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.3963, allocations: 19.97 kB / 0.5882 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3963, allocations: 4 kB / 0.5882 GB, free: 14.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000407/0.3967, allocations: 342.8 kB / 0.5885 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3967, allocations: 0 / 0.5885 GB, free: 14.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002453/0.3992, allocations: 0.8461 MB / 0.5893 GB, free: 13.69 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004976/0.4042, allocations: 1.901 MB / 0.5912 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.405, allocations: 267.6 kB / 0.5914 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.405, allocations: 0.9375 kB / 0.5914 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.4053, allocations: 139.9 kB / 0.5916 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.4063, allocations: 184.2 kB / 0.5918 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/0.4132, allocations: 4.011 MB / 0.5957 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.4137, allocations: 0.8424 MB / 0.5965 GB, free: 6.133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004/0.4141, allocations: 150.6 kB / 0.5966 GB, free: 5.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.4144, allocations: 159.4 kB / 0.5968 GB, free: 5.828 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4144, allocations: 8 kB / 0.5968 GB, free: 5.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08405/0.4984, allocations: 38.98 MB / 0.6349 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.01, allocations: 11.73 kB / 0.6349 GB, free: 14.76 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable specificEnthalpy.h_out in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.18348484300077]