Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001753/0.001753, allocations: 107.3 kB / 19.69 MB, free: 2.188 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.002127/0.002127, allocations: 187.6 kB / 22.98 MB, free: 5.016 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.42/1.42, allocations: 207.6 MB / 233.7 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.2178/0.2178, allocations: 44.24 MB / 330.2 MB, free: 9.562 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.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: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 78.84 kB / 467.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1184, allocations: 61.03 MB / 0.5166 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001614/0.12, allocations: 0.4987 MB / 0.5171 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.122, allocations: 1.407 MB / 0.5184 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.122, allocations: 0 / 0.5184 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.1221, allocations: 3.938 kB / 0.5184 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.422e-05/0.1221, allocations: 0 / 0.5184 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.1228, allocations: 227.9 kB / 0.5187 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.1228, allocations: 11.92 kB / 0.5187 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.1229, allocations: 0 / 0.5187 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.1229, allocations: 4 kB / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.1229, allocations: 3.984 kB / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1229, allocations: 0 / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.1234, allocations: 279.6 kB / 0.5189 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.1234, allocations: 0 / 0.5189 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.1235, allocations: 11.94 kB / 0.5189 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1237, allocations: 139.6 kB / 0.5191 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1237, allocations: 4 kB / 0.5191 GB, free: 4.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1237, allocations: 0 / 0.5191 GB, free: 4.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1237, allocations: 0 / 0.5191 GB, free: 4.289 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004001/0.1241, allocations: 258.3 kB / 0.5193 GB, free: 4.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1241, allocations: 11.97 kB / 0.5193 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.1242, allocations: 4.938 kB / 0.5193 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1243, allocations: 110.5 kB / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1243, allocations: 384 / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1243, allocations: 384 / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1244, allocations: 42.02 kB / 0.5195 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1244, allocations: 3.984 kB / 0.5195 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1244, allocations: 3.938 kB / 0.5195 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1244, allocations: 0 / 0.5195 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.1245, allocations: 8 kB / 0.5195 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1248, allocations: 216 kB / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/0.1249, allocations: 18.56 kB / 0.5197 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.1249, allocations: 8.922 kB / 0.5197 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.1249, allocations: 0 / 0.5197 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.125, allocations: 34.56 kB / 0.5198 GB, free: 3.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.125, allocations: 0 / 0.5198 GB, free: 3.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001746/0.1251, allocations: 41.64 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1252, allocations: 51.41 kB / 0.5199 GB, free: 3.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.1253, allocations: 101.8 kB / 0.52 GB, free: 3.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1253, allocations: 25.7 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.1253, allocations: 84.09 kB / 0.5201 GB, free: 3.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.1254, allocations: 7.891 kB / 0.5201 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1254, allocations: 13.72 kB / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1255, allocations: 323 kB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.1256, allocations: 15.98 kB / 0.5204 GB, free: 2.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.1256, allocations: 18.58 kB / 0.5204 GB, free: 2.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.1256, allocations: 26.52 kB / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1256, allocations: 0 / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.505e-05/0.1257, allocations: 53.62 kB / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1257, allocations: 8 kB / 0.5205 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1257, allocations: 0 / 0.5205 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1258, allocations: 0 / 0.5205 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.147e-05/0.1258, allocations: 4 kB / 0.5205 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1258, allocations: 4 kB / 0.5205 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.1258, allocations: 0 / 0.5205 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1258, allocations: 4 kB / 0.5205 GB, free: 2.617 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.289e-05/0.1259, allocations: 113.9 kB / 0.5206 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.1259, allocations: 4 kB / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1261, allocations: 44.8 kB / 0.5207 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1261, allocations: 96 / 0.5207 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1261, allocations: 0 / 0.5207 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1261, allocations: 11.97 kB / 0.5207 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1262, allocations: 120.7 kB / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1262, allocations: 3.938 kB / 0.5208 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1262, allocations: 8.031 kB / 0.5208 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1262, allocations: 0 / 0.5208 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1262, allocations: 0 / 0.5208 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1262, allocations: 0 / 0.5208 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1262, allocations: 0 / 0.5208 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1264, allocations: 143.4 kB / 0.521 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-06/0.1264, allocations: 4 kB / 0.521 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1264, allocations: 4 kB / 0.521 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.1264, allocations: 4.031 kB / 0.521 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.1265, allocations: 0 / 0.521 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1265, allocations: 7.984 kB / 0.521 GB, free: 2.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.1265, allocations: 83.28 kB / 0.521 GB, free: 2 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1265, allocations: 0 / 0.521 GB, free: 2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1268, allocations: 35.94 kB / 0.5211 GB, free: 1.965 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.0003094/0.1271, allocations: 135.2 kB / 0.5212 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.469e-05/0.1272, allocations: 20.03 kB / 0.5212 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1272, allocations: 0 / 0.5212 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.1273, allocations: 25.7 kB / 0.5213 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1275, allocations: 7.938 kB / 0.5213 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.1277, allocations: 84.91 kB / 0.5213 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1281, allocations: 0.6806 MB / 0.522 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.287e-05/0.1281, allocations: 256 / 0.522 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.1281, allocations: 15.44 kB / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1281, allocations: 0 / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of Templates: time 0.003923/0.132, allocations: 1.062 MB / 0.5231 GB, free: 15.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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: 4.885873098857701]