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.0008849/0.0008849, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008398/0.0008398, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8913/0.8913, allocations: 177 MB / 204.1 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.2427/0.2427, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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.763e-06/1.763e-06, allocations: 0 / 442.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.843e-05, allocations: 2.281 kB / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00103/0.001049, allocations: 0.5306 MB / 442.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003028/0.001351, allocations: 147.5 kB / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.001378, allocations: 0 / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.001393, allocations: 3.938 kB / 442.8 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.001617, allocations: 35.77 kB / 442.8 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.069e-06/0.001622, allocations: 0 / 442.8 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.001676, allocations: 27.91 kB / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.001721, allocations: 0 / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.00175, allocations: 11.94 kB / 442.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.001812, allocations: 7.984 kB / 442.9 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.001827, allocations: 8 kB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.978e-05/0.001917, allocations: 51.88 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.00193, allocations: 11.92 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.175e-05/0.001942, allocations: 3.938 kB / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.002043, allocations: 47.86 kB / 443 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002045, allocations: 0 / 443 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002045, allocations: 4 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.00205, allocations: 0 / 443 MB, free: 0.7188 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.0002436/0.002293, allocations: 262.2 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.002332, allocations: 8.031 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.002362, allocations: 34.75 kB / 443.3 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.002385, allocations: 8.938 kB / 443.3 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.002493, allocations: 117.6 kB / 443.4 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.002504, allocations: 8.312 kB / 443.4 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.002514, allocations: 8.375 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.002618, allocations: 50.25 kB / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.002626, allocations: 4.125 kB / 443.5 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.002635, allocations: 384 / 443.5 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.00264, allocations: 8.125 kB / 443.5 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.002723, allocations: 55.89 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1762/0.1789, allocations: 136.6 kB / 443.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.179, allocations: 72.14 kB / 443.8 MB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.1791, allocations: 29.36 kB / 443.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.1793, allocations: 21.89 kB / 443.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1793, allocations: 37.34 kB / 443.9 MB, free: 44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.425e-06/0.1793, allocations: 1.406 kB / 443.9 MB, free: 44 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000226/0.1795, allocations: 100.2 kB / 444 MB, free: 43.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1796, allocations: 55.47 kB / 444 MB, free: 43.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.124e-05/0.1796, allocations: 94.11 kB / 444.1 MB, free: 43.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.1796, allocations: 30.11 kB / 444.1 MB, free: 43.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.128e-05/0.1796, allocations: 84.84 kB / 444.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.1797, allocations: 30.97 kB / 444.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.1797, allocations: 26.97 kB / 444.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.762e-05/0.1797, allocations: 313.1 kB / 444.6 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.1798, allocations: 26.06 kB / 444.6 MB, free: 43.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.1798, allocations: 20.7 kB / 444.6 MB, free: 43.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.1799, allocations: 49.14 kB / 444.7 MB, free: 43.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1799, allocations: 0 / 444.7 MB, free: 43.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.654e-05/0.1799, allocations: 90.69 kB / 444.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1799, allocations: 7.969 kB / 444.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.18, allocations: 1.875 kB / 444.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.18, allocations: 2.969 kB / 444.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.1801, allocations: 16.5 kB / 444.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1801, allocations: 3.938 kB / 444.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.1801, allocations: 4.938 kB / 444.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1801, allocations: 5.5 kB / 444.8 MB, free: 43.3 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.567e-05/0.1801, allocations: 114.5 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-06/0.1801, allocations: 6.609 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1803, allocations: 106 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1803, allocations: 2.562 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1803, allocations: 3.938 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1803, allocations: 1.5 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.399e-05/0.1804, allocations: 140 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1804, allocations: 0 / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.1804, allocations: 17.77 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1804, allocations: 0 / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1804, allocations: 3.375 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1804, allocations: 5.891 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1804, allocations: 7.531 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.882e-05/0.1805, allocations: 111.4 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.1805, allocations: 9.344 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1805, allocations: 2.812 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-06/0.1805, allocations: 2.438 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.1805, allocations: 13.36 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1805, allocations: 2.906 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.217e-05/0.1805, allocations: 80.02 kB / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1805, allocations: 0 / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.1807, allocations: 21.31 kB / 445.4 MB, free: 42.85 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.0002104/0.1809, allocations: 0.6507 MB / 446.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.114e-05/0.181, allocations: 54.62 kB / 446.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.181, allocations: 0 / 446.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.181, allocations: 32.67 kB / 446.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.1811, allocations: 8.781 kB / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.1814, allocations: 167.8 kB / 446.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.1814, allocations: 66.25 kB / 446.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.68e-05/0.1815, allocations: 12.39 kB / 446.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.1815, allocations: 15.28 kB / 446.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1815, allocations: 0 / 446.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.1948, allocations: 2.2 MB / 448.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.977, allocations: 1.656 kB / 448.6 MB, free: 41.14 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.012129632756114]