Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 84.33 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 160.9 kB / 23.94 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8737/0.8737, allocations: 177.1 MB / 204.2 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 34.24 MB / 294.9 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.052e-05, allocations: 2.281 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001065/0.001086, allocations: 0.5306 MB / 442.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.001414, allocations: 147.4 kB / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.001437, allocations: 0 / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.00146, allocations: 3.938 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.001685, allocations: 35.84 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.027e-06/0.001689, allocations: 0 / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.001739, allocations: 19.92 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.001782, allocations: 3.938 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.001813, allocations: 19.97 kB / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.001868, allocations: 7.984 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.00188, allocations: 0 / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.001966, allocations: 51.83 kB / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.001979, allocations: 4 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.447e-05/0.001993, allocations: 11.92 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.002094, allocations: 51.81 kB / 443.1 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002095, allocations: 0 / 443.1 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002096, allocations: 0 / 443.1 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.002102, allocations: 0 / 443.1 MB, free: 0.7227 MB / 410.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.0002434/0.002346, allocations: 262.2 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.002386, allocations: 8.031 kB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.002424, allocations: 46.67 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.002447, allocations: 0.9375 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.94e-05/0.002527, allocations: 109.7 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.002537, allocations: 384 / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.002549, allocations: 8.375 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.002655, allocations: 66.17 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.002663, allocations: 192 / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.002671, allocations: 384 / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.002678, allocations: 4.125 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.002759, allocations: 51.95 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1807/0.1835, allocations: 136.3 kB / 443.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.1836, allocations: 77.92 kB / 443.8 MB, free: 44.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.1837, allocations: 26.48 kB / 443.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.1839, allocations: 24.55 kB / 443.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.1839, allocations: 34.78 kB / 443.9 MB, free: 44.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1839, allocations: 0 / 443.9 MB, free: 44.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001911/0.1841, allocations: 103.4 kB / 444 MB, free: 44.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.1841, allocations: 58.41 kB / 444.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.826e-05/0.1841, allocations: 90.61 kB / 444.2 MB, free: 43.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.1841, allocations: 27.08 kB / 444.2 MB, free: 43.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-06/0.1841, allocations: 85.83 kB / 444.3 MB, free: 43.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1842, allocations: 35.19 kB / 444.3 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.1842, allocations: 28.8 kB / 444.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.033e-05/0.1842, allocations: 315 kB / 444.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.1843, allocations: 17.56 kB / 444.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.1843, allocations: 20.38 kB / 444.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.1843, allocations: 52.23 kB / 444.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1844, allocations: 2.844 kB / 444.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.489e-05/0.1844, allocations: 89.02 kB / 444.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1844, allocations: 6.125 kB / 444.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1844, allocations: 0.5938 kB / 444.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1845, allocations: 0.5625 kB / 444.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.1845, allocations: 22.25 kB / 444.9 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1846, allocations: 7.359 kB / 444.9 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.1846, allocations: 6.703 kB / 444.9 MB, free: 43.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1846, allocations: 3.281 kB / 444.9 MB, free: 43.35 MB / 410.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 4.432e-05/0.1846, allocations: 113.7 kB / 445 MB, free: 43.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-06/0.1846, allocations: 0 / 445 MB, free: 43.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.1848, allocations: 105.8 kB / 445.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1848, allocations: 0 / 445.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1848, allocations: 0 / 445.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1848, allocations: 7.125 kB / 445.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.908e-05/0.1848, allocations: 143.7 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1848, allocations: 2.719 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.1849, allocations: 17.48 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1849, allocations: 2.844 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1849, allocations: 0 / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1849, allocations: 2.781 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1849, allocations: 2.953 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.987e-05/0.1849, allocations: 116.1 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.185, allocations: 10.3 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.185, allocations: 3.875 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-06/0.185, allocations: 2.312 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.185, allocations: 19.27 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.185, allocations: 2.875 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.184e-05/0.185, allocations: 75.28 kB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.185, allocations: 0 / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.1852, allocations: 23.16 kB / 445.5 MB, free: 42.89 MB / 410.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.0002154/0.1854, allocations: 0.6487 MB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.1855, allocations: 54.59 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1855, allocations: 2.125 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.1855, allocations: 25.36 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.1856, allocations: 11.19 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.1859, allocations: 175.3 kB / 446.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.186, allocations: 69.56 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.186, allocations: 5.594 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.186, allocations: 18.72 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.186, allocations: 0 / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2022, allocations: 2.182 MB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.251, allocations: 4.656 kB / 448.7 MB, free: 41.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2_a from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3 in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3 from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3_a in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3_a from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x2err in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2err from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3err in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3err from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.305651294067502]