Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.002371/0.002371, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002914/0.002914, allocations: 210.3 kB / 22.99 MB, free: 4.602 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.713/1.713, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2305/0.2305, allocations: 44.26 MB / 330.3 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 179] 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.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") [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.002254/0.002254, allocations: 72.47 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 61.04 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003606/0.1384, allocations: 1.607 MB / 0.5182 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.1391, allocations: 327.6 kB / 0.5185 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.1392, allocations: 3.938 kB / 0.5185 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.1399, allocations: 447.2 kB / 0.519 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.1403, allocations: 255.5 kB / 0.5192 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1406, allocations: 111.7 kB / 0.5193 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1409, allocations: 155.7 kB / 0.5195 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.141, allocations: 12.17 kB / 0.5195 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1411, allocations: 107.7 kB / 0.5196 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.1414, allocations: 247.6 kB / 0.5198 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.1414, allocations: 7.938 kB / 0.5198 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.1415, allocations: 31.98 kB / 0.5198 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1417, allocations: 83.62 kB / 0.5199 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.1417, allocations: 63.31 kB / 0.52 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.1421, allocations: 258.6 kB / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1421, allocations: 0 / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1421, allocations: 0 / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1421, allocations: 0 / 0.5202 GB, free: 2.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008829/0.143, allocations: 0.5699 MB / 0.5208 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.1431, allocations: 8.031 kB / 0.5208 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.1431, allocations: 44.66 kB / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1435, allocations: 242.8 kB / 0.5211 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1435, allocations: 4.375 kB / 0.5211 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1435, allocations: 4.375 kB / 0.5211 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1437, allocations: 53.61 kB / 0.5211 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1437, allocations: 3.953 kB / 0.5211 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1437, allocations: 8 kB / 0.5211 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1437, allocations: 0 / 0.5211 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.713e-05/0.1438, allocations: 23.98 kB / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.1443, allocations: 332.2 kB / 0.5215 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1446, allocations: 38.56 kB / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.1446, allocations: 20.94 kB / 0.5215 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1446, allocations: 0 / 0.5215 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1447, allocations: 34.56 kB / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1447, allocations: 0 / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006363/0.1453, allocations: 228.7 kB / 0.5218 GB, free: 1.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.1454, allocations: 55.41 kB / 0.5218 GB, free: 1.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/0.1463, allocations: 0.8457 MB / 0.5227 GB, free: 356 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1463, allocations: 25.7 kB / 0.5227 GB, free: 324 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1465, allocations: 216 kB / 0.5229 GB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1465, allocations: 19.84 kB / 0.5229 GB, free: 84 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.1465, allocations: 17.66 kB / 0.5229 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.1468, allocations: 366.9 kB / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.1468, allocations: 19.98 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.1469, allocations: 15.98 kB / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.147, allocations: 44.84 kB / 0.5234 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.147, allocations: 0 / 0.5234 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002223/0.1472, allocations: 117.4 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1473, allocations: 4 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1473, allocations: 0 / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1473, allocations: 0 / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.1473, allocations: 23.94 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1473, allocations: 3.938 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.1474, allocations: 8.266 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1474, allocations: 3.938 kB / 0.5235 GB, free: 15.44 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 (5): * Single equations (assignments): 5 * 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 0.0002057/0.1476, allocations: 205.8 kB / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.1477, allocations: 51.7 kB / 0.5238 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.148, allocations: 133 kB / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.148, allocations: 0 / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.148, allocations: 4 kB / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.148, allocations: 0 / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.1485, allocations: 406.2 kB / 0.5243 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1485, allocations: 3.984 kB / 0.5243 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.1486, allocations: 8 kB / 0.5243 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1486, allocations: 0 / 0.5243 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1486, allocations: 8 kB / 0.5243 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1486, allocations: 0 / 0.5243 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1486, allocations: 3.938 kB / 0.5243 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.1489, allocations: 219.2 kB / 0.5245 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.1489, allocations: 31.72 kB / 0.5245 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1489, allocations: 0 / 0.5245 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.149, allocations: 11.92 kB / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1491, allocations: 7.938 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1491, allocations: 0 / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006868/0.1498, allocations: 0.6433 MB / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1498, allocations: 0 / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000262/0.15, allocations: 31.92 kB / 0.5252 GB, free: 13.63 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001643/0.1517, allocations: 429.5 kB / 0.5256 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1519, allocations: 51.89 kB / 0.5257 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1519, allocations: 0 / 0.5257 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.1519, allocations: 23.98 kB / 0.5257 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1523, allocations: 21.83 kB / 0.5257 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1535, allocations: 0.7866 MB / 0.5265 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1537, allocations: 216.2 kB / 0.5267 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.493e-05/0.1537, allocations: 11.98 kB / 0.5267 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.1538, allocations: 11.44 kB / 0.5267 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1538, allocations: 0 / 0.5267 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Templates: time 0.00549/0.1593, allocations: 1.64 MB / 0.5283 GB, free: 10.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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: 5.4950018879026175]