Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.00259/0.00259, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002876/0.002876, allocations: 169.6 kB / 23.52 MB, free: 0.9023 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.321/1.321, allocations: 158.6 MB / 185.3 MB, free: 2.918 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.2492/0.2492, allocations: 32.36 MB / 270 MB, free: 14.78 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 3.938 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.495e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.002293/0.002318, allocations: 1.57 MB / 348.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005472/0.002865, allocations: 335.3 kB / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.002909, allocations: 0 / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.003114, allocations: 19.86 kB / 348.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.003269, allocations: 39.83 kB / 348.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.003487, allocations: 83.7 kB / 349 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.003596, allocations: 67.75 kB / 349 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.003682, allocations: 8 kB / 349.1 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.003739, allocations: 23.92 kB / 349.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.00379, allocations: 19.97 kB / 349.1 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.003809, allocations: 4 kB / 349.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.003871, allocations: 31.92 kB / 349.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.003916, allocations: 15.94 kB / 349.1 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.003944, allocations: 11.92 kB / 349.2 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.004081, allocations: 79.66 kB / 349.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004083, allocations: 0 / 349.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004084, allocations: 0 / 349.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004088, allocations: 0 / 349.2 MB, free: 7.492 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.0004273/0.004515, allocations: 403.9 kB / 349.6 MB, free: 7.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.004548, allocations: 12.03 kB / 349.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.004593, allocations: 16.88 kB / 349.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.004723, allocations: 136.4 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.004734, allocations: 4.375 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.004752, allocations: 4.375 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.004856, allocations: 42.25 kB / 349.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.004867, allocations: 4.125 kB / 349.8 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.004876, allocations: 12.06 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004881, allocations: 0 / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.00495, allocations: 11.98 kB / 349.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.005232, allocations: 283.8 kB / 350.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.005426, allocations: 47.05 kB / 350.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.005465, allocations: 19.62 kB / 350.2 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.005484, allocations: 7.938 kB / 350.2 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.005497, allocations: 33.39 kB / 350.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.005498, allocations: 0 / 350.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004507/0.005949, allocations: 121.5 kB / 350.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.005975, allocations: 55.41 kB / 350.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.006085, allocations: 208.6 kB / 350.6 MB, free: 5.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.006093, allocations: 25.7 kB / 350.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.006137, allocations: 150.8 kB / 350.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.006159, allocations: 19.83 kB / 350.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.006194, allocations: 27.38 kB / 350.8 MB, free: 5.699 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.006297, allocations: 0.4923 MB / 351.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.006348, allocations: 15.98 kB / 351.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.006386, allocations: 8 kB / 351.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.00647, allocations: 39.67 kB / 351.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.006471, allocations: 0 / 351.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001286/0.006599, allocations: 85.75 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.006612, allocations: 4 kB / 351.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006617, allocations: 0 / 351.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.006633, allocations: 4 kB / 351.5 MB, free: 5.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.006685, allocations: 8 kB / 351.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.006691, allocations: 4 kB / 351.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.006721, allocations: 7.984 kB / 351.5 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.006727, allocations: 0 / 351.5 MB, free: 5.012 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 6.039e-05/0.006787, allocations: 156.6 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.006817, allocations: 19.89 kB / 351.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.006989, allocations: 82.08 kB / 351.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006991, allocations: 0 / 351.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.006995, allocations: 0 / 351.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.006999, allocations: 7.922 kB / 351.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.007287, allocations: 337.4 kB / 352.1 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007288, allocations: 0 / 352.1 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.00733, allocations: 11.94 kB / 352.1 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007331, allocations: 0 / 352.1 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.00734, allocations: 8 kB / 352.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007341, allocations: 0 / 352.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007342, allocations: 288 / 352.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.007512, allocations: 223.8 kB / 352.3 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.007524, allocations: 11.94 kB / 352.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.007538, allocations: 192 / 352.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.007595, allocations: 11.98 kB / 352.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.007635, allocations: 4 kB / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.007639, allocations: 0 / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.718e-05/0.007706, allocations: 157.8 kB / 352.5 MB, free: 3.926 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007706, allocations: 4 kB / 352.5 MB, free: 3.922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.007928, allocations: 15.94 kB / 352.5 MB, free: 3.906 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.002639/0.01057, allocations: 432.9 kB / 353 MB, free: 3.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.01072, allocations: 43.61 kB / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01072, allocations: 0 / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.01078, allocations: 27.8 kB / 353 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.01108, allocations: 21.55 kB / 353.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.01139, allocations: 182 kB / 353.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.042e-05/0.01144, allocations: 75.33 kB / 353.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.01148, allocations: 15.97 kB / 353.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.01151, allocations: 16.48 kB / 353.3 MB, free: 3.156 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01151, allocations: 0 / 353.3 MB, free: 3.156 MB / 282.7 MB Notification: Performance of Templates: time 0.003704/0.01521, allocations: 1.149 MB / 354.5 MB, free: 2.012 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.759525737026706]