Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001415/0.001415, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002099/0.002099, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 67.89 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1351, allocations: 65.99 MB / 0.5554 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001611/0.1367, allocations: 0.53 MB / 0.5559 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004358/0.1371, allocations: 164.1 kB / 0.556 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.1372, allocations: 3.938 kB / 0.556 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.1372, allocations: 0 / 0.556 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.1375, allocations: 31.84 kB / 0.5561 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.578e-06/0.1375, allocations: 0 / 0.5561 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.1375, allocations: 23.92 kB / 0.5561 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1376, allocations: 0 / 0.5561 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.1376, allocations: 15.92 kB / 0.5561 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.1377, allocations: 23.84 kB / 0.5561 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1377, allocations: 0 / 0.5561 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1378, allocations: 47.95 kB / 0.5562 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1378, allocations: 8 kB / 0.5562 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.1378, allocations: 11.86 kB / 0.5562 GB, free: 5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.138, allocations: 43.81 kB / 0.5562 GB, free: 4.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.138, allocations: 0 / 0.5562 GB, free: 4.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.138, allocations: 0 / 0.5562 GB, free: 4.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.138, allocations: 0 / 0.5562 GB, free: 4.957 MB / 414.1 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.0004208/0.1384, allocations: 347.3 kB / 0.5566 GB, free: 4.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1385, allocations: 8.031 kB / 0.5566 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.1385, allocations: 42.69 kB / 0.5566 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.1385, allocations: 0.9375 kB / 0.5566 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1387, allocations: 172.3 kB / 0.5568 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1387, allocations: 384 / 0.5568 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1387, allocations: 8.359 kB / 0.5568 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1388, allocations: 58.25 kB / 0.5568 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1389, allocations: 3.938 kB / 0.5568 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1389, allocations: 4 kB / 0.5569 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1389, allocations: 7.938 kB / 0.5569 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.139, allocations: 51.95 kB / 0.5569 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.1392, allocations: 173.6 kB / 0.5571 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1394, allocations: 70.55 kB / 0.5571 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.1394, allocations: 25.14 kB / 0.5572 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/0.1398, allocations: 255.2 kB / 0.5574 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1398, allocations: 38.56 kB / 0.5574 GB, free: 3.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1398, allocations: 0 / 0.5574 GB, free: 3.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002676/0.1401, allocations: 109.5 kB / 0.5576 GB, free: 3.375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1402, allocations: 51.41 kB / 0.5576 GB, free: 3.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.1402, allocations: 93.86 kB / 0.5577 GB, free: 3.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1402, allocations: 25.7 kB / 0.5577 GB, free: 3.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.1403, allocations: 84.12 kB / 0.5578 GB, free: 3.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.1403, allocations: 43.75 kB / 0.5578 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1404, allocations: 29.66 kB / 0.5579 GB, free: 3.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1405, allocations: 314.8 kB / 0.5582 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.1406, allocations: 16 kB / 0.5582 GB, free: 2.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.1406, allocations: 24.3 kB / 0.5582 GB, free: 2.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.1407, allocations: 48.8 kB / 0.5582 GB, free: 2.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1407, allocations: 0 / 0.5582 GB, free: 2.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001325/0.1408, allocations: 93.56 kB / 0.5583 GB, free: 2.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1408, allocations: 7.938 kB / 0.5583 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1408, allocations: 4 kB / 0.5583 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1409, allocations: 0 / 0.5583 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.141, allocations: 16 kB / 0.5584 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.141, allocations: 0 / 0.5584 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.141, allocations: 4 kB / 0.5584 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.141, allocations: 4 kB / 0.5584 GB, free: 2.477 MB / 414.1 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 9.145e-05/0.1411, allocations: 113.8 kB / 0.5585 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.1411, allocations: 11.89 kB / 0.5585 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.1413, allocations: 97.58 kB / 0.5586 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1413, allocations: 4 kB / 0.5586 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1413, allocations: 0 / 0.5586 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1413, allocations: 0 / 0.5586 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1415, allocations: 169.7 kB / 0.5588 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1415, allocations: 0 / 0.5588 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.1416, allocations: 19.94 kB / 0.5588 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1416, allocations: 4.312 kB / 0.5588 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1416, allocations: 4 kB / 0.5588 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1416, allocations: 4 kB / 0.5588 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1416, allocations: 3.984 kB / 0.5588 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.1417, allocations: 113 kB / 0.5589 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1418, allocations: 85.05 kB / 0.559 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1418, allocations: 7.938 kB / 0.559 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.1418, allocations: 0 / 0.559 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.1419, allocations: 7.984 kB / 0.559 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1419, allocations: 4 kB / 0.559 GB, free: 1.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.1419, allocations: 83.28 kB / 0.5591 GB, free: 1.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1419, allocations: 0 / 0.5591 GB, free: 1.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.1421, allocations: 12 kB / 0.5591 GB, free: 1.645 MB / 414.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: 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.0004956/0.1426, allocations: 0.6669 MB / 0.5597 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1428, allocations: 51.92 kB / 0.5598 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1428, allocations: 4.094 kB / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.1428, allocations: 27.92 kB / 0.5598 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.1429, allocations: 9.719 kB / 0.5598 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.1434, allocations: 167.2 kB / 0.56 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1437, allocations: 0.6807 MB / 0.5606 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.1437, allocations: 11.77 kB / 0.5607 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.1438, allocations: 27.36 kB / 0.5607 GB, free: 15.91 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1438, allocations: 0 / 0.5607 GB, free: 15.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.165, allocations: 1.553 MB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.701, allocations: 14.33 kB / 0.5622 GB, free: 14.44 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2_a from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3 in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3 from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3_a in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3_a from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x2err in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2err from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3err in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3err from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.917845848001889]