Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.8 MB, free: 3.652 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.92 MB / 349.6 MB, free: 1.77 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 66.8 kB / 491.8 MB, free: 30.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1265, allocations: 64.26 MB / 0.543 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001729/0.1282, allocations: 0.5243 MB / 0.5435 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004585/0.1287, allocations: 163.8 kB / 0.5437 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.1287, allocations: 4 kB / 0.5437 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.1288, allocations: 3.938 kB / 0.5437 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.129, allocations: 35.84 kB / 0.5437 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.129, allocations: 0 / 0.5437 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.1291, allocations: 23.86 kB / 0.5437 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.1291, allocations: 7.984 kB / 0.5437 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.1292, allocations: 11.92 kB / 0.5437 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.1292, allocations: 19.86 kB / 0.5438 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1292, allocations: 0 / 0.5438 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1294, allocations: 47.95 kB / 0.5438 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.1294, allocations: 3.984 kB / 0.5438 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.1294, allocations: 15.94 kB / 0.5438 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1295, allocations: 44.09 kB / 0.5439 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1295, allocations: 0 / 0.5439 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1295, allocations: 0 / 0.5439 GB, free: 3.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1295, allocations: 0 / 0.5439 GB, free: 3.27 MB / 398.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.0004048/0.1299, allocations: 335.4 kB / 0.5442 GB, free: 2.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.13, allocations: 11.97 kB / 0.5442 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.13, allocations: 34.75 kB / 0.5442 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.13, allocations: 8.891 kB / 0.5442 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1302, allocations: 176.2 kB / 0.5444 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1302, allocations: 12.38 kB / 0.5444 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.1302, allocations: 4.375 kB / 0.5444 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1304, allocations: 50.25 kB / 0.5445 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1304, allocations: 3.938 kB / 0.5445 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1304, allocations: 0 / 0.5445 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1304, allocations: 4 kB / 0.5445 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1305, allocations: 59.88 kB / 0.5445 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.1307, allocations: 165.7 kB / 0.5447 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1308, allocations: 82.48 kB / 0.5448 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.1309, allocations: 24.86 kB / 0.5448 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.1312, allocations: 255.3 kB / 0.545 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1313, allocations: 38.78 kB / 0.5451 GB, free: 1.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1313, allocations: 0 / 0.5451 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002404/0.1315, allocations: 109.5 kB / 0.5452 GB, free: 1.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1316, allocations: 55.41 kB / 0.5452 GB, free: 1.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.1316, allocations: 89.86 kB / 0.5453 GB, free: 1.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1317, allocations: 33.7 kB / 0.5454 GB, free: 1.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.1317, allocations: 80.14 kB / 0.5454 GB, free: 1.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1317, allocations: 35.69 kB / 0.5455 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1318, allocations: 17.72 kB / 0.5455 GB, free: 1.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1319, allocations: 322.8 kB / 0.5458 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.1319, allocations: 16.12 kB / 0.5458 GB, free: 1.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.132, allocations: 19.98 kB / 0.5458 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.403e-05/0.1321, allocations: 53.36 kB / 0.5459 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1321, allocations: 0 / 0.5459 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001295/0.1322, allocations: 89.61 kB / 0.546 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1322, allocations: 7.938 kB / 0.546 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1322, allocations: 0 / 0.546 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1322, allocations: 3.938 kB / 0.546 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/0.1323, allocations: 12 kB / 0.546 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1323, allocations: 4 kB / 0.546 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.1324, allocations: 7.953 kB / 0.546 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1324, allocations: 11.92 kB / 0.546 GB, free: 0.7891 MB / 398.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.504e-05/0.1325, allocations: 109.8 kB / 0.5461 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.1325, allocations: 7.938 kB / 0.5461 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.1328, allocations: 101.5 kB / 0.5462 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1328, allocations: 3.984 kB / 0.5462 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1328, allocations: 4 kB / 0.5462 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1328, allocations: 0 / 0.5462 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.133, allocations: 177.6 kB / 0.5464 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.133, allocations: 4 kB / 0.5464 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.1331, allocations: 19.94 kB / 0.5464 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1331, allocations: 3.938 kB / 0.5464 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1331, allocations: 0 / 0.5464 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1331, allocations: 3.984 kB / 0.5464 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1331, allocations: 0 / 0.5464 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1333, allocations: 109.1 kB / 0.5465 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1333, allocations: 89.06 kB / 0.5466 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1333, allocations: 3.938 kB / 0.5466 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.1334, allocations: 7.984 kB / 0.5466 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.1334, allocations: 4 kB / 0.5466 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1334, allocations: 288 / 0.5466 GB, free: 48 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.1335, allocations: 79.28 kB / 0.5467 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1335, allocations: 0 / 0.5467 GB, free: 15.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.1337, allocations: 23.88 kB / 0.5467 GB, free: 15.95 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.0006903/0.1344, allocations: 0.6515 MB / 0.5474 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1345, allocations: 51.92 kB / 0.5474 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1345, allocations: 0 / 0.5474 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.632e-05/0.1346, allocations: 31.92 kB / 0.5474 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.1347, allocations: 6.672 kB / 0.5474 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.1353, allocations: 178.5 kB / 0.5476 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1357, allocations: 0.6844 MB / 0.5483 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.1357, allocations: 11.92 kB / 0.5483 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.1357, allocations: 15.44 kB / 0.5483 GB, free: 14.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1357, allocations: 0 / 0.5483 GB, free: 14.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.1587, allocations: 1.572 MB / 0.5498 GB, free: 12.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/7.877, allocations: 2.5 kB / 0.5498 GB, free: 12.75 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.883380093146116]