Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.001329/0.001329, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001688/0.001688, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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.24/1.24, allocations: 158.6 MB / 186 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.1926/0.1926, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 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.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.718e-05, allocations: 6.312 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.003394/0.003421, allocations: 1.655 MB / 349.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.004531, allocations: 1.056 MB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.004584, allocations: 0 / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.004801, allocations: 19.81 kB / 350.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.005013, allocations: 43.77 kB / 350.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.005204, allocations: 107.7 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.005326, allocations: 71.7 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.005423, allocations: 12.17 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.005481, allocations: 27.92 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.005576, allocations: 27.89 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.005592, allocations: 4 kB / 350.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.005674, allocations: 47.92 kB / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.005723, allocations: 19.97 kB / 350.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.005746, allocations: 11.94 kB / 350.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.005906, allocations: 95.58 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005909, allocations: 4 kB / 350.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005911, allocations: 0 / 350.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.005916, allocations: 0 / 350.9 MB, free: 6.555 MB / 282.7 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.0003517/0.006268, allocations: 404.2 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.006307, allocations: 16.02 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.006354, allocations: 8.875 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.006486, allocations: 139.1 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.006496, allocations: 4.375 kB / 351.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.00652, allocations: 4.375 kB / 351.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.00666, allocations: 104 kB / 351.5 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006669, allocations: 4.188 kB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.00668, allocations: 7.938 kB / 351.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.006687, allocations: 0 / 351.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.006723, allocations: 15.98 kB / 351.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.006988, allocations: 275.7 kB / 351.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.696e-05/0.007055, allocations: 39 kB / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.007076, allocations: 15.69 kB / 351.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.007095, allocations: 96 / 351.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.007111, allocations: 37.38 kB / 351.9 MB, free: 5.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.007113, allocations: 7.984 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003639/0.007477, allocations: 121.4 kB / 352.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.007503, allocations: 85.03 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.007577, allocations: 185.9 kB / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.007583, allocations: 25.7 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.007614, allocations: 138.8 kB / 352.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.007632, allocations: 19.8 kB / 352.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.007658, allocations: 31.36 kB / 352.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.0077, allocations: 0.4883 MB / 353 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.007719, allocations: 11.98 kB / 353 MB, free: 4.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.007747, allocations: 57.16 kB / 353.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.007783, allocations: 35.89 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.007784, allocations: 0 / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.627e-05/0.00785, allocations: 73.56 kB / 353.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007863, allocations: 4 kB / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.007867, allocations: 0 / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007878, allocations: 0 / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.00795, allocations: 16 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.007957, allocations: 3.984 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.007979, allocations: 4 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007984, allocations: 8.031 kB / 353.2 MB, free: 3.961 MB / 282.7 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 (7): * Single equations (assignments): 7 * 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 4.448e-05/0.008028, allocations: 164.5 kB / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.008045, allocations: 11.89 kB / 353.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.537e-05/0.008141, allocations: 78.05 kB / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008143, allocations: 0 / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.008146, allocations: 0 / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.00815, allocations: 4 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.008336, allocations: 333.4 kB / 353.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.008337, allocations: 0 / 353.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.008371, allocations: 19.92 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008373, allocations: 4 kB / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.008379, allocations: 0 / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.00838, allocations: 0 / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008381, allocations: 0 / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.776e-05/0.008459, allocations: 219.8 kB / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.008466, allocations: 11.94 kB / 354.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.008478, allocations: 0 / 354.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.008512, allocations: 8 kB / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.008547, allocations: 7.984 kB / 354.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.00855, allocations: 0 / 354.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.177e-05/0.008582, allocations: 143.2 kB / 354.2 MB, free: 2.902 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008582, allocations: 4 kB / 354.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.008747, allocations: 35.86 kB / 354.2 MB, free: 2.863 MB / 282.7 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 (7): * Single equations (assignments): 7 * 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.0008768/0.009624, allocations: 433.8 kB / 354.7 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.707e-05/0.009721, allocations: 35.66 kB / 354.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009723, allocations: 0 / 354.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.009747, allocations: 27.62 kB / 354.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.009949, allocations: 27.83 kB / 354.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.01024, allocations: 194.5 kB / 354.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.483e-05/0.01026, allocations: 59.34 kB / 355 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.0103, allocations: 11.98 kB / 355 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.01033, allocations: 16.5 kB / 355 MB, free: 2.105 MB / 282.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01033, allocations: 4 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Templates: time 0.002927/0.01326, allocations: 1.58 MB / 356.6 MB, free: 0.5312 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.662726986920461]