Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001627/0.001627, allocations: 109 kB / 20.48 MB, free: 1.492 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.002072/0.002072, allocations: 211.9 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.25 MB / 331.1 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 82.64 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1236, allocations: 61.04 MB / 0.5169 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001801/0.1254, allocations: 0.5103 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1275, allocations: 1.406 MB / 0.5188 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.1275, allocations: 0 / 0.5188 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.1275, allocations: 0 / 0.5188 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.125e-05/0.1276, allocations: 0 / 0.5188 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.1283, allocations: 228.2 kB / 0.519 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.1284, allocations: 4 kB / 0.519 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1284, allocations: 0 / 0.519 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.1285, allocations: 4 kB / 0.519 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.071e-05/0.1285, allocations: 11.97 kB / 0.519 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1285, allocations: 0 / 0.519 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.129, allocations: 271.6 kB / 0.5193 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.129, allocations: 7.938 kB / 0.5193 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.129, allocations: 4 kB / 0.5193 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1293, allocations: 147.6 kB / 0.5194 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1293, allocations: 7.938 kB / 0.5194 GB, free: 4.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1293, allocations: 0 / 0.5194 GB, free: 4.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1293, allocations: 0 / 0.5194 GB, free: 4.746 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.0003837/0.1297, allocations: 258.3 kB / 0.5197 GB, free: 4.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1297, allocations: 8.031 kB / 0.5197 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.61e-05/0.1297, allocations: 192 / 0.5197 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.1298, allocations: 30.75 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.1298, allocations: 4.938 kB / 0.5197 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1299, allocations: 106.5 kB / 0.5198 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1299, allocations: 4.375 kB / 0.5198 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.1299, allocations: 4.312 kB / 0.5198 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.13, allocations: 33.64 kB / 0.5199 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.13, allocations: 3.984 kB / 0.5199 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.13, allocations: 0 / 0.5199 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.13, allocations: 0 / 0.5199 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.1301, allocations: 7.938 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1302, allocations: 120.8 kB / 0.52 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.1303, allocations: 18.58 kB / 0.52 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.1303, allocations: 12.91 kB / 0.52 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.1303, allocations: 3.938 kB / 0.52 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1303, allocations: 30.56 kB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1303, allocations: 0 / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.1305, allocations: 45.58 kB / 0.5201 GB, free: 3.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1305, allocations: 51.53 kB / 0.5201 GB, free: 3.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.1306, allocations: 97.86 kB / 0.5202 GB, free: 3.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1306, allocations: 25.7 kB / 0.5203 GB, free: 3.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.1306, allocations: 84.12 kB / 0.5203 GB, free: 3.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1307, allocations: 3.953 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1307, allocations: 9.719 kB / 0.5203 GB, free: 3.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1308, allocations: 318.8 kB / 0.5207 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.1309, allocations: 0 / 0.5207 GB, free: 3.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.1309, allocations: 4.125 kB / 0.5207 GB, free: 3.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.1309, allocations: 8.859 kB / 0.5207 GB, free: 3.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1309, allocations: 0 / 0.5207 GB, free: 3.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.458e-05/0.131, allocations: 45.56 kB / 0.5207 GB, free: 3.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.131, allocations: 4 kB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.131, allocations: 0 / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.131, allocations: 0 / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.131, allocations: 4 kB / 0.5207 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.131, allocations: 0 / 0.5207 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.395e-05/0.1311, allocations: 4.094 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.1311, allocations: 0 / 0.5207 GB, free: 3.227 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 (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 9.083e-05/0.1312, allocations: 113.8 kB / 0.5208 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1312, allocations: 3.938 kB / 0.5208 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.1313, allocations: 44.78 kB / 0.5209 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1313, allocations: 4.031 kB / 0.5209 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1313, allocations: 7.938 kB / 0.5209 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1313, allocations: 3.984 kB / 0.5209 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1314, allocations: 124.8 kB / 0.521 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/0.1314, allocations: 3.938 kB / 0.521 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-06/0.1314, allocations: 4 kB / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1314, allocations: 0 / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1314, allocations: 0 / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1314, allocations: 0 / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1314, allocations: 0 / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.842e-05/0.1315, allocations: 65.12 kB / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.1315, allocations: 7.891 kB / 0.5211 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1316, allocations: 4 kB / 0.5211 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.1316, allocations: 0 / 0.5211 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.1316, allocations: 0 / 0.5211 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1316, allocations: 4 kB / 0.5211 GB, free: 2.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.85e-05/0.1317, allocations: 83.2 kB / 0.5212 GB, free: 2.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1317, allocations: 4.125 kB / 0.5212 GB, free: 2.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.132, allocations: 43.88 kB / 0.5212 GB, free: 2.637 MB / 398.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.0005716/0.1325, allocations: 0.6396 MB / 0.5218 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.1326, allocations: 4 kB / 0.5218 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1326, allocations: 4.094 kB / 0.5219 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.1327, allocations: 37.62 kB / 0.5219 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.1328, allocations: 0 / 0.5219 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.1332, allocations: 126.5 kB / 0.522 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1335, allocations: 0.6767 MB / 0.5227 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.363e-05/0.1335, allocations: 0 / 0.5227 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1336, allocations: 7.438 kB / 0.5227 GB, free: 1.039 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1336, allocations: 64 / 0.5227 GB, free: 1.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.1538, allocations: 1.978 MB / 0.5246 GB, free: 15.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.42, allocations: 15.97 kB / 0.5246 GB, free: 15.05 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 14.379924339009449]