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.001645/0.001645, allocations: 100.4 kB / 20.45 MB, free: 1.395 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.002057/0.002057, allocations: 218 kB / 23.75 MB, free: 4.559 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.419/1.419, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2236/0.2236, allocations: 44.27 MB / 331.1 MB, free: 9.309 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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [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.002543/0.002543, allocations: 71.91 kB / 468.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1217, allocations: 61.04 MB / 0.5173 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001761/0.1235, allocations: 0.5104 MB / 0.5178 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1255, allocations: 1.345 MB / 0.5192 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1255, allocations: 0 / 0.5192 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.1255, allocations: 7.938 kB / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.758e-05/0.1255, allocations: 0 / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.1262, allocations: 208 kB / 0.5194 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.1263, allocations: 19.92 kB / 0.5194 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.1263, allocations: 3.984 kB / 0.5194 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.1263, allocations: 3.938 kB / 0.5194 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.1264, allocations: 7.984 kB / 0.5194 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1264, allocations: 0 / 0.5194 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.1269, allocations: 255.6 kB / 0.5196 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1269, allocations: 8 kB / 0.5197 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.1269, allocations: 4 kB / 0.5197 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1271, allocations: 143.5 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1271, allocations: 0 / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1271, allocations: 4 kB / 0.5198 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1271, allocations: 0 / 0.5198 GB, free: 4.176 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.0003916/0.1275, allocations: 258.3 kB / 0.52 GB, free: 3.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1276, allocations: 8.031 kB / 0.5201 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1276, allocations: 0.9375 kB / 0.5201 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1277, allocations: 114.5 kB / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1277, allocations: 384 / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.1277, allocations: 384 / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1279, allocations: 67.72 kB / 0.5202 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1279, allocations: 0 / 0.5202 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1279, allocations: 0 / 0.5202 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1279, allocations: 0 / 0.5202 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.1279, allocations: 4 kB / 0.5202 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.128, allocations: 97.31 kB / 0.5203 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.1281, allocations: 26.55 kB / 0.5203 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.1281, allocations: 8.797 kB / 0.5204 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1281, allocations: 0 / 0.5204 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.1282, allocations: 34.62 kB / 0.5204 GB, free: 3.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1282, allocations: 4 kB / 0.5204 GB, free: 3.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.1283, allocations: 37.64 kB / 0.5204 GB, free: 3.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1283, allocations: 55.39 kB / 0.5205 GB, free: 3.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.1284, allocations: 93.86 kB / 0.5206 GB, free: 3.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1284, allocations: 33.64 kB / 0.5206 GB, free: 3.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.1285, allocations: 80.14 kB / 0.5207 GB, free: 3.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1285, allocations: 3.953 kB / 0.5207 GB, free: 3.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.1285, allocations: 13.72 kB / 0.5207 GB, free: 3.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1287, allocations: 310.8 kB / 0.521 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.1287, allocations: 4.25 kB / 0.521 GB, free: 2.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.1287, allocations: 11.98 kB / 0.521 GB, free: 2.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.1287, allocations: 4.859 kB / 0.521 GB, free: 2.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1287, allocations: 4 kB / 0.521 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.838e-05/0.1288, allocations: 29.7 kB / 0.521 GB, free: 2.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1288, allocations: 7.938 kB / 0.5211 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1288, allocations: 7.938 kB / 0.5211 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1288, allocations: 0 / 0.5211 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.1289, allocations: 3.938 kB / 0.5211 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1289, allocations: 4.094 kB / 0.5211 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.1289, allocations: 0 / 0.5211 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1289, allocations: 7.984 kB / 0.5211 GB, free: 2.688 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 7.909e-05/0.129, allocations: 105.8 kB / 0.5212 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-06/0.129, allocations: 0 / 0.5212 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1291, allocations: 48.8 kB / 0.5212 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1291, allocations: 7.984 kB / 0.5212 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1291, allocations: 8.016 kB / 0.5212 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.1291, allocations: 0 / 0.5212 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.487e-05/0.1292, allocations: 93.33 kB / 0.5213 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1292, allocations: 8 kB / 0.5213 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1292, allocations: 0 / 0.5213 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1292, allocations: 0 / 0.5213 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.1292, allocations: 0 / 0.5213 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1292, allocations: 3.938 kB / 0.5213 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1292, allocations: 3.938 kB / 0.5213 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.47e-05/0.1293, allocations: 61.12 kB / 0.5214 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.1293, allocations: 3.984 kB / 0.5214 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.1293, allocations: 4 kB / 0.5214 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.1294, allocations: 7.938 kB / 0.5214 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.1294, allocations: 7.984 kB / 0.5214 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1294, allocations: 3.938 kB / 0.5214 GB, free: 2.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.236e-05/0.1295, allocations: 79.28 kB / 0.5215 GB, free: 2.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1295, allocations: 0 / 0.5215 GB, free: 2.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000246/0.1297, allocations: 39.88 kB / 0.5215 GB, free: 2.145 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.0002817/0.13, allocations: 143.1 kB / 0.5217 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.444e-05/0.1301, allocations: 12.03 kB / 0.5217 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1301, allocations: 0 / 0.5217 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.1301, allocations: 29.7 kB / 0.5217 GB, free: 1.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.1303, allocations: 3.938 kB / 0.5217 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.1306, allocations: 118.5 kB / 0.5218 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.1306, allocations: 59.3 kB / 0.5219 GB, free: 1.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.1306, allocations: 7.438 kB / 0.5219 GB, free: 1.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1306, allocations: 0 / 0.5219 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Templates: time 0.002769/0.1334, allocations: 0.9091 MB / 0.5228 GB, free: 0.7969 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] 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: 7.203503904864192]