Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001118/0.001118, allocations: 79.53 kB / 20.01 MB, free: 4.508 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.001223/0.001223, allocations: 166 kB / 23.32 MB, free: 1.203 MB / 18.57 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 0.8922/0.8922, allocations: 158.6 MB / 185.1 MB, free: 3.012 MB / 170.7 MB " [Timeout remaining time 179] 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.1314/0.1314, allocations: 32.38 MB / 269.7 MB, free: 14.93 MB / 266.7 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.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 407.1 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.208e-05, allocations: 10.08 kB / 407.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001147/0.00117, allocations: 0.5729 MB / 407.7 MB, free: 1.531 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002515/0.001421, allocations: 115.5 kB / 407.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.001446, allocations: 0 / 407.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.001459, allocations: 0 / 407.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.001673, allocations: 39.78 kB / 407.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.001677, allocations: 0 / 407.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.001729, allocations: 23.91 kB / 407.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.001765, allocations: 11.92 kB / 407.9 MB, free: 1.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.001793, allocations: 4 kB / 407.9 MB, free: 1.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.001848, allocations: 15.92 kB / 407.9 MB, free: 1.324 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.001858, allocations: 0 / 407.9 MB, free: 1.324 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.001938, allocations: 47.95 kB / 407.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.00195, allocations: 7.922 kB / 407.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.001965, allocations: 7.984 kB / 407.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.708e-05/0.002062, allocations: 47.81 kB / 408 MB, free: 1.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.002065, allocations: 0 / 408 MB, free: 1.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.002066, allocations: 0 / 408 MB, free: 1.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00207, allocations: 0 / 408 MB, free: 1.215 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002377/0.002308, allocations: 266.2 kB / 408.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.002344, allocations: 8.031 kB / 408.3 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.00237, allocations: 34.75 kB / 408.3 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.002391, allocations: 4.875 kB / 408.3 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.827e-05/0.00246, allocations: 113.7 kB / 408.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.002469, allocations: 4.375 kB / 408.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.002479, allocations: 4.375 kB / 408.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.002582, allocations: 58.23 kB / 408.5 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.002589, allocations: 192 / 408.5 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.002599, allocations: 4.375 kB / 408.5 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.002605, allocations: 4.125 kB / 408.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.002681, allocations: 51.89 kB / 408.5 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.002806, allocations: 148.7 kB / 408.7 MB, free: 424 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.002918, allocations: 70.55 kB / 408.7 MB, free: 344 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.002954, allocations: 28.86 kB / 408.8 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.003136, allocations: 24.25 kB / 408.8 MB, free: 288 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.003153, allocations: 34.5 kB / 408.8 MB, free: 244 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.003154, allocations: 0 / 408.8 MB, free: 244 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001687/0.003323, allocations: 105.6 kB / 408.9 MB, free: 132 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.003352, allocations: 63.28 kB / 409 MB, free: 56 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.00341, allocations: 89.86 kB / 409.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.003421, allocations: 29.7 kB / 409.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.791e-05/0.003439, allocations: 84.27 kB / 409.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.003471, allocations: 35.69 kB / 409.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.003496, allocations: 21.72 kB / 409.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.003569, allocations: 318.8 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.003591, allocations: 12 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.003615, allocations: 23.98 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.579e-05/0.003671, allocations: 49.36 kB / 409.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.003672, allocations: 0 / 409.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.029e-05/0.003752, allocations: 93.52 kB / 409.7 MB, free: 15.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.003762, allocations: 4 kB / 409.7 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.003767, allocations: 3.984 kB / 409.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.003777, allocations: 4 kB / 409.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.00385, allocations: 19.94 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.003855, allocations: 4 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.003868, allocations: 0 / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.003876, allocations: 8 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 5.328e-05/0.003929, allocations: 105.8 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.003937, allocations: 11.94 kB / 409.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.004075, allocations: 105.5 kB / 410 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.004076, allocations: 4 kB / 410 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.00408, allocations: 7.938 kB / 410 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.004083, allocations: 0 / 410 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.375e-05/0.004157, allocations: 140.7 kB / 410.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004157, allocations: 0 / 410.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.004192, allocations: 15.94 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.004194, allocations: 0 / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.004202, allocations: 8 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.004203, allocations: 3.984 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.004206, allocations: 3.938 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.552e-05/0.004291, allocations: 113 kB / 410.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-06/0.004296, allocations: 4 kB / 410.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.004305, allocations: 4 kB / 410.3 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.004314, allocations: 4 kB / 410.3 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.004331, allocations: 15.86 kB / 410.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.004333, allocations: 0 / 410.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.07e-05/0.004354, allocations: 79.28 kB / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004354, allocations: 0 / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.004489, allocations: 19.92 kB / 410.4 MB, free: 14.52 MB / 394.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 (10): * Single equations (assignments): 10 * 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.0002862/0.004775, allocations: 0.6514 MB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.741e-05/0.004873, allocations: 47.92 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.004875, allocations: 8.094 kB / 411.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.004899, allocations: 27.92 kB / 411.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.005008, allocations: 11.94 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.00533, allocations: 166.4 kB / 411.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.005368, allocations: 63.34 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.904e-05/0.005397, allocations: 15.77 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.005425, allocations: 16.5 kB / 411.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005425, allocations: 4 kB / 411.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.01823, allocations: 2.188 MB / 413.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/6.83, allocations: 8 kB / 413.6 MB, free: 11.2 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable x2_a in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2_a from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3 in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3 from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3_a in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3_a from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x2err in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2err from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3err in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3err from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.923355272039771]