Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.001781/0.001781, allocations: 92.2 kB / 20.21 MB, free: 4.199 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.001604/0.001604, allocations: 157.7 kB / 23.52 MB, free: 0.8906 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.533/1.533, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2253/0.2253, allocations: 32.37 MB / 270 MB, free: 14.87 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.317e-05, allocations: 2.312 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.003884/0.003917, allocations: 1.604 MB / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.004882, allocations: 319.4 kB / 348.9 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.004937, allocations: 0 / 348.9 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.005251, allocations: 67.72 kB / 348.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.005506, allocations: 59.69 kB / 349 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.005912, allocations: 103.8 kB / 349.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.006081, allocations: 71.75 kB / 349.2 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.006187, allocations: 12.19 kB / 349.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.006285, allocations: 35.91 kB / 349.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.006392, allocations: 43.88 kB / 349.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.006414, allocations: 4 kB / 349.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.006525, allocations: 31.92 kB / 349.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.006609, allocations: 27.91 kB / 349.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.006645, allocations: 7.938 kB / 349.3 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.006863, allocations: 91.69 kB / 349.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.006866, allocations: 7.938 kB / 349.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006867, allocations: 0 / 349.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.006872, allocations: 0 / 349.4 MB, free: 7.32 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.000552/0.007424, allocations: 329.7 kB / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.007464, allocations: 12.03 kB / 349.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.007525, allocations: 8.891 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.007694, allocations: 138.2 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.007707, allocations: 384 / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.007738, allocations: 8.375 kB / 349.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.007951, allocations: 65.78 kB / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.007967, allocations: 3.938 kB / 350 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.007982, allocations: 4 kB / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.007987, allocations: 0 / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.008203, allocations: 31.97 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.008587, allocations: 236.4 kB / 350.2 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.008771, allocations: 38.56 kB / 350.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.008894, allocations: 28.88 kB / 350.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.008925, allocations: 4 kB / 350.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.008953, allocations: 34.55 kB / 350.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.008954, allocations: 0 / 350.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.001166/0.01012, allocations: 201.3 kB / 350.5 MB, free: 6.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.01016, allocations: 59.41 kB / 350.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.01037, allocations: 188.6 kB / 350.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.01039, allocations: 29.7 kB / 350.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.01044, allocations: 104.1 kB / 350.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.01047, allocations: 15.86 kB / 350.9 MB, free: 5.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.01053, allocations: 21.72 kB / 350.9 MB, free: 5.637 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.01058, allocations: 326.8 kB / 351.3 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.01076, allocations: 27.97 kB / 351.3 MB, free: 5.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.01094, allocations: 39.97 kB / 351.3 MB, free: 5.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.01128, allocations: 76.81 kB / 351.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01128, allocations: 0 / 351.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004439/0.01172, allocations: 113.8 kB / 351.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.01174, allocations: 8 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01175, allocations: 4 kB / 351.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.01177, allocations: 3.938 kB / 351.5 MB, free: 5.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.01196, allocations: 19.98 kB / 351.5 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01197, allocations: 0 / 351.5 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.01208, allocations: 11.92 kB / 351.6 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.01209, allocations: 4 kB / 351.6 MB, free: 4.996 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 8.683e-05/0.01218, allocations: 133.7 kB / 351.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.01224, allocations: 15.91 kB / 351.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.01274, allocations: 122.4 kB / 351.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.01274, allocations: 0 / 351.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.01275, allocations: 4 kB / 351.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.01275, allocations: 0 / 351.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007099/0.01346, allocations: 330.1 kB / 352.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.01346, allocations: 4 kB / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.01361, allocations: 23.98 kB / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.01362, allocations: 0 / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.01363, allocations: 0 / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01363, allocations: 0 / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.01363, allocations: 3.984 kB / 352.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.01412, allocations: 215.4 kB / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.01414, allocations: 3.953 kB / 352.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.01417, allocations: 7.938 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.01433, allocations: 11.98 kB / 352.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.01439, allocations: 11.92 kB / 352.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.0144, allocations: 4 kB / 352.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.01457, allocations: 139.3 kB / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01457, allocations: 0 / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005192/0.01509, allocations: 16 kB / 352.6 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 (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.002955/0.01804, allocations: 439.8 kB / 353 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.01851, allocations: 79.94 kB / 353.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.01851, allocations: 0 / 353.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.01871, allocations: 43.91 kB / 353.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.01932, allocations: 19.94 kB / 353.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.01994, allocations: 240.9 kB / 353.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.21e-05/0.02003, allocations: 93.11 kB / 353.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.02011, allocations: 8.297 kB / 353.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.02016, allocations: 16.48 kB / 353.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02016, allocations: 0 / 353.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of Templates: time 0.006764/0.02693, allocations: 1.298 MB / 354.8 MB, free: 1.738 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.885244691977277]