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.001101/0.001101, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001321/0.001321, allocations: 164.3 kB / 24.84 MB, free: 8.703 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 0.9876/0.9876, allocations: 158.6 MB / 186.7 MB, free: 2.773 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.1464/0.1464, allocations: 32.37 MB / 271.5 MB, free: 14.41 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.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: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.549e-05, allocations: 2.312 kB / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.001924/0.001939, allocations: 1.632 MB / 350.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004747/0.002414, allocations: 327.3 kB / 350.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.002468, allocations: 0 / 350.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.002882, allocations: 451.1 kB / 351.3 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.003118, allocations: 251.4 kB / 351.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.003321, allocations: 111.7 kB / 351.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.00348, allocations: 159.6 kB / 351.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.003566, allocations: 12.19 kB / 351.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.003679, allocations: 119.7 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.003833, allocations: 235.6 kB / 352.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.003851, allocations: 8 kB / 352.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.003914, allocations: 28 kB / 352.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.003988, allocations: 79.7 kB / 352.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.004015, allocations: 35.75 kB / 352.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.004193, allocations: 203 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004195, allocations: 0 / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004195, allocations: 0 / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004199, allocations: 0 / 352.5 MB, free: 5.516 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.0004182/0.004617, allocations: 0.6854 MB / 353.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.004651, allocations: 8.031 kB / 353.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.004696, allocations: 48.66 kB / 353.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.004836, allocations: 244.8 kB / 353.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.004845, allocations: 4.375 kB / 353.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.004864, allocations: 384 / 353.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.31e-05/0.004957, allocations: 58.95 kB / 353.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.004968, allocations: 4.125 kB / 353.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.004975, allocations: 3.938 kB / 353.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.00498, allocations: 0 / 353.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.005003, allocations: 11.98 kB / 353.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.005255, allocations: 332.3 kB / 353.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.005375, allocations: 43.09 kB / 354 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.005389, allocations: 19.61 kB / 354 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.005404, allocations: 0 / 354 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.005419, allocations: 37.39 kB / 354 MB, free: 3.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.00542, allocations: 0 / 354 MB, free: 3.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002838/0.005704, allocations: 133.5 kB / 354.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.005725, allocations: 51.41 kB / 354.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.005973, allocations: 0.5962 MB / 354.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.005979, allocations: 25.7 kB / 354.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.006075, allocations: 290.7 kB / 355.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.006094, allocations: 31.81 kB / 355.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.00612, allocations: 19.38 kB / 355.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.006217, allocations: 0.5508 MB / 355.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.006229, allocations: 4 kB / 355.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.00624, allocations: 3.984 kB / 355.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.006268, allocations: 31.61 kB / 355.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.00627, allocations: 3.938 kB / 355.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.667e-05/0.006346, allocations: 89.41 kB / 355.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.006358, allocations: 4 kB / 355.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.006362, allocations: 0 / 355.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.006371, allocations: 0 / 355.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.006409, allocations: 12 kB / 355.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.006413, allocations: 4 kB / 355.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.006435, allocations: 3.984 kB / 355.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.006447, allocations: 4 kB / 355.9 MB, free: 1.984 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 5.833e-05/0.006505, allocations: 160.5 kB / 356 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.006536, allocations: 47.66 kB / 356.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.006639, allocations: 93.11 kB / 356.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006642, allocations: 0 / 356.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.006645, allocations: 0 / 356.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.006649, allocations: 4.312 kB / 356.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.00689, allocations: 393.8 kB / 356.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.006892, allocations: 0 / 356.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.006918, allocations: 8 kB / 356.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.006921, allocations: 0 / 356.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.006927, allocations: 4 kB / 356.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006928, allocations: 0 / 356.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006929, allocations: 0 / 356.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.726e-05/0.007026, allocations: 239.6 kB / 356.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.007045, allocations: 27.77 kB / 356.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.00706, allocations: 4 kB / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.007095, allocations: 11.92 kB / 356.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.007125, allocations: 8 kB / 356.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.007128, allocations: 3.938 kB / 356.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.007274, allocations: 390.7 kB / 357.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007274, allocations: 0 / 357.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.007442, allocations: 23.94 kB / 357.2 MB, free: 0.5273 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.0006671/0.00811, allocations: 377.2 kB / 357.6 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.008181, allocations: 31.67 kB / 357.6 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008182, allocations: 0 / 357.6 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.008197, allocations: 19.62 kB / 357.7 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.008417, allocations: 35.09 kB / 357.7 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.008969, allocations: 0.5626 MB / 358.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.009043, allocations: 123.2 kB / 358.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.845e-05/0.009072, allocations: 8.25 kB / 358.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.009126, allocations: 82.19 kB / 358.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009127, allocations: 0 / 358.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of Templates: time 0.00392/0.01305, allocations: 1.477 MB / 359.9 MB, free: 13.86 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) [Timeout 240] 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","",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.251865565776825]