Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001685/0.001685, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.00206/0.00206, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.838/1.838, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.242/0.242, allocations: 46.92 MB / 357.8 MB, free: 10.39 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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 0.4921 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1213, allocations: 66.01 MB / 0.5566 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003112/0.1244, allocations: 1.613 MB / 0.5581 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1255, allocations: 0.5416 MB / 0.5587 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.1255, allocations: 0 / 0.5587 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1258, allocations: 79.75 kB / 0.5587 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.1261, allocations: 107.6 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1264, allocations: 87.7 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1266, allocations: 87.73 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.1267, allocations: 11.98 kB / 0.559 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.1267, allocations: 35.86 kB / 0.559 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1269, allocations: 67.8 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1269, allocations: 4 kB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.127, allocations: 47.97 kB / 0.5592 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.127, allocations: 19.92 kB / 0.5592 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.1271, allocations: 35.69 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1273, allocations: 103.6 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1273, allocations: 3.938 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1273, allocations: 0 / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1273, allocations: 0 / 0.5593 GB, free: 2.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005475/0.1279, allocations: 418.7 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1279, allocations: 12.03 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.992e-05/0.1279, allocations: 12.84 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1282, allocations: 211.1 kB / 0.5599 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1282, allocations: 4.312 kB / 0.5599 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1282, allocations: 4.375 kB / 0.56 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1284, allocations: 61.78 kB / 0.56 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1284, allocations: 0 / 0.56 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1284, allocations: 0 / 0.56 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1284, allocations: 4 kB / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1285, allocations: 27.97 kB / 0.56 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1289, allocations: 292.8 kB / 0.5603 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.129, allocations: 42.5 kB / 0.5604 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.651e-05/0.1291, allocations: 20.94 kB / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1291, allocations: 0 / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1291, allocations: 34.56 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1291, allocations: 0 / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009557/0.1301, allocations: 221.3 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1302, allocations: 59.41 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.1304, allocations: 218.2 kB / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1304, allocations: 25.7 kB / 0.5609 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1305, allocations: 108.1 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.1306, allocations: 31.73 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1306, allocations: 25.66 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1308, allocations: 322.8 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.1308, allocations: 27.98 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.1309, allocations: 27.97 kB / 0.5614 GB, free: 124 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1311, allocations: 61.05 kB / 0.5615 GB, free: 60 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1311, allocations: 0 / 0.5615 GB, free: 60 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002424/0.1313, allocations: 101.6 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1313, allocations: 6.031 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1314, allocations: 0 / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1314, allocations: 8 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1315, allocations: 19.92 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1315, allocations: 0 / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.1315, allocations: 11.92 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1315, allocations: 4 kB / 0.5616 GB, free: 15.91 MB / 430.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 (8): * Single equations (assignments): 8 * 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.0001234/0.1317, allocations: 124 kB / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.1317, allocations: 19.89 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.132, allocations: 118.9 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.132, allocations: 4 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.132, allocations: 3.984 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.132, allocations: 3.938 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.1326, allocations: 407.3 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1326, allocations: 0 / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.1327, allocations: 19.98 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1327, allocations: 7.969 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.1327, allocations: 432 / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1327, allocations: 4 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1327, allocations: 0 / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.133, allocations: 200.3 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.133, allocations: 101 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.133, allocations: 0 / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.1331, allocations: 11.97 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1332, allocations: 4 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1332, allocations: 0 / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1333, allocations: 168.2 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1333, allocations: 0 / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1336, allocations: 31.86 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001705/0.1353, allocations: 457.7 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1355, allocations: 63.91 kB / 0.5633 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1355, allocations: 4 kB / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1356, allocations: 35.91 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.136, allocations: 16 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.1366, allocations: 288.3 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.137, allocations: 0.7158 MB / 0.5643 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.137, allocations: 15.44 kB / 0.5643 GB, free: 13.13 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.137, allocations: 4 kB / 0.5644 GB, free: 13.13 MB / 430.1 MB Notification: Performance of Templates: time 0.003849/0.1408, allocations: 1.759 MB / 0.5661 GB, free: 11.36 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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: 8.376862286007963]