Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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.002002/0.002002, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002297/0.002297, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 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.381/1.381, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 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.2342/0.2342, allocations: 32.37 MB / 270 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.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/2.997e-05, allocations: 2.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.002466/0.002496, allocations: 1.572 MB / 348.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003649, allocations: 1.048 MB / 349.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.003698, allocations: 0 / 349.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.003938, allocations: 27.78 kB / 349.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.004128, allocations: 43.77 kB / 349.6 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.004345, allocations: 95.69 kB / 349.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.004464, allocations: 55.83 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.004564, allocations: 8 kB / 349.8 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.004628, allocations: 35.91 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.00477, allocations: 19.91 kB / 349.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.004791, allocations: 4 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.331e-05/0.004884, allocations: 47.92 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.004929, allocations: 11.98 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.004957, allocations: 11.92 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.005128, allocations: 91.66 kB / 350 MB, free: 6.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.005133, allocations: 4 kB / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005135, allocations: 0 / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.005141, allocations: 0 / 350 MB, free: 6.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004204/0.005561, allocations: 407.9 kB / 350.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.005594, allocations: 8.031 kB / 350.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.005645, allocations: 12.88 kB / 350.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005792, allocations: 140.4 kB / 350.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005804, allocations: 4.375 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.005825, allocations: 4.328 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.005967, allocations: 87.33 kB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.005981, allocations: 192 / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.005992, allocations: 8.125 kB / 350.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005998, allocations: 0 / 350.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.006078, allocations: 19.98 kB / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.006427, allocations: 275.8 kB / 351 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.006663, allocations: 47.05 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.006708, allocations: 19.69 kB / 351 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.006733, allocations: 3.938 kB / 351 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.006754, allocations: 37.47 kB / 351.1 MB, free: 5.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.006755, allocations: 0 / 351.1 MB, free: 5.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005541/0.007309, allocations: 121.4 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.007349, allocations: 81.11 kB / 351.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.007467, allocations: 197.9 kB / 351.5 MB, free: 5.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.00748, allocations: 25.7 kB / 351.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.007537, allocations: 142.9 kB / 351.6 MB, free: 4.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.007563, allocations: 15.91 kB / 351.6 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.007603, allocations: 23.38 kB / 351.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.007705, allocations: 0.4961 MB / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.007757, allocations: 8 kB / 352.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.007818, allocations: 61.06 kB / 352.2 MB, free: 4.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.087e-05/0.007909, allocations: 43.89 kB / 352.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007911, allocations: 4 kB / 352.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001374/0.008048, allocations: 77.56 kB / 352.3 MB, free: 4.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.008065, allocations: 4 kB / 352.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.008072, allocations: 0 / 352.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.008095, allocations: 0 / 352.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.008152, allocations: 11.94 kB / 352.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.008158, allocations: 4 kB / 352.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.008194, allocations: 11.92 kB / 352.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.008211, allocations: 4 kB / 352.4 MB, free: 4.102 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 (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 7.921e-05/0.00829, allocations: 160.5 kB / 352.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.008326, allocations: 19.89 kB / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.008534, allocations: 73.8 kB / 352.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.008537, allocations: 0 / 352.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.008543, allocations: 0 / 352.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.008547, allocations: 0 / 352.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.008895, allocations: 345.3 kB / 353 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.008897, allocations: 4 kB / 353 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.008941, allocations: 12 kB / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008943, allocations: 0 / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.008954, allocations: 0 / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008956, allocations: 0 / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008957, allocations: 0 / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.009166, allocations: 235.9 kB / 353.2 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.009177, allocations: 4.234 kB / 353.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.009198, allocations: 0 / 353.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.779e-05/0.009255, allocations: 7.984 kB / 353.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.009314, allocations: 7.984 kB / 353.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.009318, allocations: 0 / 353.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.69e-05/0.009395, allocations: 154.4 kB / 353.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009395, allocations: 0 / 353.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.009662, allocations: 27.92 kB / 353.4 MB, free: 3 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 (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.003194/0.01286, allocations: 469.6 kB / 353.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.01315, allocations: 55.61 kB / 353.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.01316, allocations: 4 kB / 353.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.01322, allocations: 27.67 kB / 354 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.01361, allocations: 21.55 kB / 354 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.0141, allocations: 162 kB / 354.1 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.035e-05/0.01416, allocations: 75.23 kB / 354.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.494e-05/0.01423, allocations: 19.84 kB / 354.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.01428, allocations: 20.48 kB / 354.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/0.01428, allocations: 0 / 354.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of Templates: time 0.005465/0.01974, allocations: 1.432 MB / 355.7 MB, free: 0.7852 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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.876684854039922]