Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001843/0.001843, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002065/0.002065, allocations: 219 kB / 21.46 MB, free: 1.586 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.546/1.546, allocations: 230.6 MB / 254.8 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.2227/0.2227, allocations: 46.93 MB / 357.8 MB, free: 10.31 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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 59.91 kB / 0.4916 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 65.99 MB / 0.556 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001855/0.1323, allocations: 496.9 kB / 0.5565 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1344, allocations: 1.415 MB / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.1344, allocations: 0 / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.1344, allocations: 0 / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.06e-05/0.1345, allocations: 0 / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007779/0.1352, allocations: 223.8 kB / 0.5581 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.1353, allocations: 8 kB / 0.5581 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1353, allocations: 7.984 kB / 0.5581 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.1353, allocations: 3.984 kB / 0.5581 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.1354, allocations: 4 kB / 0.5581 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1354, allocations: 0 / 0.5581 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.1359, allocations: 287.5 kB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.1359, allocations: 0 / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.1359, allocations: 8 kB / 0.5584 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.1362, allocations: 139.6 kB / 0.5585 GB, free: 3.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1362, allocations: 0 / 0.5585 GB, free: 3.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1362, allocations: 0 / 0.5585 GB, free: 3.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1362, allocations: 0 / 0.5585 GB, free: 3.277 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004656/0.1367, allocations: 335.3 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1367, allocations: 8.031 kB / 0.5589 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.365e-05/0.1367, allocations: 16.17 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.1368, allocations: 38.69 kB / 0.5589 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1368, allocations: 4.875 kB / 0.5589 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1369, allocations: 160.4 kB / 0.5591 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1369, allocations: 384 / 0.5591 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.137, allocations: 8.312 kB / 0.5591 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.245e-05/0.1371, allocations: 33.62 kB / 0.5591 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1371, allocations: 0 / 0.5591 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1371, allocations: 4 kB / 0.5591 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1371, allocations: 4 kB / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.1371, allocations: 0 / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.1373, allocations: 153.7 kB / 0.5593 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/0.1373, allocations: 14.58 kB / 0.5593 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.1373, allocations: 12.86 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.1373, allocations: 3.938 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1374, allocations: 30.56 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1374, allocations: 4 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.1375, allocations: 41.69 kB / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1376, allocations: 51.41 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.1376, allocations: 93.86 kB / 0.5595 GB, free: 2.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1377, allocations: 25.7 kB / 0.5595 GB, free: 2.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.1377, allocations: 80.14 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1377, allocations: 7.891 kB / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1378, allocations: 17.97 kB / 0.5596 GB, free: 1.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1379, allocations: 314.8 kB / 0.5599 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.1379, allocations: 7.922 kB / 0.56 GB, free: 1.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.1379, allocations: 0 / 0.56 GB, free: 1.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.948e-05/0.138, allocations: 8.859 kB / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.138, allocations: 0 / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.737e-05/0.138, allocations: 41.64 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.138, allocations: 4 kB / 0.56 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.138, allocations: 4.094 kB / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1381, allocations: 0 / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.1381, allocations: 4 kB / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1381, allocations: 0 / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.1381, allocations: 3.984 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1381, allocations: 3.938 kB / 0.56 GB, free: 1.535 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 8.598e-05/0.1382, allocations: 113.8 kB / 0.5601 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.1382, allocations: 3.938 kB / 0.5601 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.1384, allocations: 48.81 kB / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1384, allocations: 0 / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1384, allocations: 0 / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1384, allocations: 0 / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.1385, allocations: 145.7 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.1385, allocations: 7.875 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-06/0.1385, allocations: 7.984 kB / 0.5603 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1385, allocations: 4 kB / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1385, allocations: 4.031 kB / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1385, allocations: 0 / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1385, allocations: 0 / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.69e-05/0.1386, allocations: 65.06 kB / 0.5604 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.1386, allocations: 81.05 kB / 0.5605 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1387, allocations: 3.984 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.1387, allocations: 4 kB / 0.5605 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.1388, allocations: 4.031 kB / 0.5605 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1388, allocations: 0 / 0.5605 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.1388, allocations: 79.28 kB / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1388, allocations: 0 / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1391, allocations: 43.92 kB / 0.5606 GB, free: 0.832 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.0005975/0.1397, allocations: 0.6398 MB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.1397, allocations: 4 kB / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1397, allocations: 0 / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.1398, allocations: 29.7 kB / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1399, allocations: 5.828 kB / 0.5613 GB, free: 120 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.1403, allocations: 118.6 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1406, allocations: 0.6768 MB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.501e-05/0.1407, allocations: 4.125 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.1407, allocations: 7.438 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1407, allocations: 0 / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.158, allocations: 1.896 MB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.366, allocations: 6.281 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.462747911980841]