Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001714/0.001714, allocations: 117.6 kB / 18.5 MB, free: 4.434 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.001686/0.001686, allocations: 190.9 kB / 21.44 MB, free: 1.504 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.393/1.393, allocations: 225.6 MB / 249.8 MB, free: 3.586 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.2135/0.2135, allocations: 44.91 MB / 349.6 MB, free: 1.699 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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.95 kB / 491.8 MB, free: 30.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1247, allocations: 64.26 MB / 0.543 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001703/0.1264, allocations: 0.4931 MB / 0.5435 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1283, allocations: 1.362 MB / 0.5448 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.1283, allocations: 8 kB / 0.5448 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.1283, allocations: 0 / 0.5448 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.654e-05/0.1283, allocations: 0 / 0.5448 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.129, allocations: 215.3 kB / 0.545 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.1291, allocations: 4 kB / 0.545 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.1291, allocations: 7.984 kB / 0.545 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.754e-05/0.1292, allocations: 3.938 kB / 0.545 GB, free: 2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.1292, allocations: 11.98 kB / 0.545 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1292, allocations: 0 / 0.545 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.1297, allocations: 271.6 kB / 0.5453 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.1297, allocations: 4 kB / 0.5453 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.1297, allocations: 4 kB / 0.5453 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1299, allocations: 147.8 kB / 0.5454 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1299, allocations: 0 / 0.5454 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1299, allocations: 0 / 0.5454 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1299, allocations: 0 / 0.5454 GB, free: 1.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004358/0.1304, allocations: 339.3 kB / 0.5458 GB, free: 1.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1304, allocations: 12.03 kB / 0.5458 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.1305, allocations: 30.75 kB / 0.5458 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.1305, allocations: 0.9375 kB / 0.5458 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1306, allocations: 168.3 kB / 0.546 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1306, allocations: 384 / 0.546 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.1306, allocations: 4.359 kB / 0.546 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.1307, allocations: 37.81 kB / 0.546 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1307, allocations: 0 / 0.546 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1307, allocations: 0 / 0.546 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1308, allocations: 4 kB / 0.546 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.1308, allocations: 3.938 kB / 0.546 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.1309, allocations: 157.7 kB / 0.5462 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.131, allocations: 14.58 kB / 0.5462 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.131, allocations: 12.86 kB / 0.5462 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.131, allocations: 0 / 0.5462 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.131, allocations: 38.5 kB / 0.5462 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.131, allocations: 0 / 0.5462 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.1312, allocations: 37.64 kB / 0.5463 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1312, allocations: 59.52 kB / 0.5463 GB, free: 492 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.1313, allocations: 89.86 kB / 0.5464 GB, free: 392 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1313, allocations: 29.7 kB / 0.5464 GB, free: 356 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.1314, allocations: 88.08 kB / 0.5465 GB, free: 264 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1314, allocations: 0 / 0.5465 GB, free: 264 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.1314, allocations: 9.719 kB / 0.5465 GB, free: 248 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1316, allocations: 314.8 kB / 0.5468 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.1316, allocations: 4.125 kB / 0.5468 GB, free: 15.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-06/0.1316, allocations: 3.984 kB / 0.5468 GB, free: 15.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.1316, allocations: 12.86 kB / 0.5469 GB, free: 15.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1316, allocations: 0 / 0.5469 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.174e-05/0.1317, allocations: 41.58 kB / 0.5469 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1317, allocations: 4 kB / 0.5469 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1317, allocations: 0 / 0.5469 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1317, allocations: 0 / 0.5469 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.578e-05/0.1318, allocations: 4 kB / 0.5469 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1318, allocations: 4.094 kB / 0.5469 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.1318, allocations: 0 / 0.5469 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1318, allocations: 3.984 kB / 0.5469 GB, free: 15.84 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 (1): * Single equations (assignments): 1 * 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 7.897e-05/0.1319, allocations: 109.8 kB / 0.547 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.1319, allocations: 7.891 kB / 0.547 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.132, allocations: 48.77 kB / 0.5471 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.132, allocations: 3.984 kB / 0.5471 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.132, allocations: 0 / 0.5471 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.132, allocations: 0 / 0.5471 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1321, allocations: 145.7 kB / 0.5472 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.1321, allocations: 4 kB / 0.5472 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-06/0.1321, allocations: 3.938 kB / 0.5472 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1321, allocations: 3.984 kB / 0.5472 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1321, allocations: 4 kB / 0.5472 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1321, allocations: 0 / 0.5472 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1321, allocations: 0 / 0.5472 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.73e-05/0.1322, allocations: 61.17 kB / 0.5473 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1323, allocations: 81.05 kB / 0.5474 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1323, allocations: 3.984 kB / 0.5474 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.1324, allocations: 4 kB / 0.5474 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-06/0.1324, allocations: 0 / 0.5474 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1324, allocations: 3.938 kB / 0.5474 GB, free: 15.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.605e-05/0.1324, allocations: 87.31 kB / 0.5475 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1324, allocations: 7.875 kB / 0.5475 GB, free: 15.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1326, allocations: 35.94 kB / 0.5475 GB, free: 15.13 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005505/0.1332, allocations: 0.6358 MB / 0.5481 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.1333, allocations: 8.125 kB / 0.5481 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1333, allocations: 0 / 0.5481 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.1333, allocations: 37.64 kB / 0.5482 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1334, allocations: 0 / 0.5482 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1338, allocations: 126.6 kB / 0.5483 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1341, allocations: 0.6766 MB / 0.5489 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.1341, allocations: 4 kB / 0.5489 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.1342, allocations: 7.438 kB / 0.549 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1342, allocations: 4.125 kB / 0.549 GB, free: 13.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.1571, allocations: 1.848 MB / 0.5508 GB, free: 11.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/7.878, allocations: 6.438 kB / 0.5508 GB, free: 11.77 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.693156437017024]