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.001123/0.001123, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001824/0.001824, allocations: 173 kB / 24.25 MB, free: 308 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.075/1.075, allocations: 158.6 MB / 186 MB, free: 2.883 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.1443/0.1443, allocations: 32.37 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.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 1.983e-06/1.983e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.497e-05, allocations: 6.312 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.00355/0.003585, allocations: 1.659 MB / 349.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.004309, allocations: 315.4 kB / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.004385, allocations: 0 / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.004669, allocations: 63.75 kB / 349.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.004906, allocations: 55.69 kB / 349.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.005224, allocations: 111.7 kB / 349.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.00541, allocations: 71.75 kB / 349.9 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005525, allocations: 12.19 kB / 349.9 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.005623, allocations: 43.88 kB / 350 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.005738, allocations: 39.95 kB / 350 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.005759, allocations: 4 kB / 350 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.144e-05/0.005841, allocations: 27.94 kB / 350.1 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.005919, allocations: 23.91 kB / 350.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.00595, allocations: 15.92 kB / 350.1 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.006133, allocations: 79.61 kB / 350.2 MB, free: 7.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.006137, allocations: 8 kB / 350.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006139, allocations: 0 / 350.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.006144, allocations: 0 / 350.2 MB, free: 7.238 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.0004481/0.006592, allocations: 420 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.006641, allocations: 16.03 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.006708, allocations: 12.89 kB / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.006879, allocations: 141 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.006891, allocations: 384 / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.006915, allocations: 4.375 kB / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.007076, allocations: 62.52 kB / 350.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.007087, allocations: 0 / 350.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.007098, allocations: 0 / 350.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.007106, allocations: 0 / 350.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.007157, allocations: 15.92 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.007529, allocations: 291.7 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.781e-05/0.007627, allocations: 43.05 kB / 351.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.007659, allocations: 11.69 kB / 351.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.007684, allocations: 3.984 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.007704, allocations: 37.39 kB / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007705, allocations: 0 / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005126/0.008218, allocations: 129.4 kB / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.00825, allocations: 55.41 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.008393, allocations: 219 kB / 351.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.008402, allocations: 29.7 kB / 351.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.008452, allocations: 154.8 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.008482, allocations: 19.8 kB / 351.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.008527, allocations: 31.36 kB / 351.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.008609, allocations: 0.5 MB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.008641, allocations: 8 kB / 352.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.008666, allocations: 7.938 kB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.008725, allocations: 39.73 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.008726, allocations: 0 / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001126/0.008839, allocations: 65.81 kB / 352.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.008856, allocations: 7.984 kB / 352.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.008862, allocations: 8 kB / 352.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.008878, allocations: 0 / 352.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.00899, allocations: 12 kB / 352.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.008996, allocations: 0 / 352.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.009035, allocations: 11.98 kB / 352.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.009043, allocations: 0 / 352.5 MB, free: 4.711 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 5.421e-05/0.009097, allocations: 160.5 kB / 352.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.009136, allocations: 15.91 kB / 352.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.009297, allocations: 86.39 kB / 352.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0093, allocations: 4 kB / 352.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.009304, allocations: 0 / 352.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009307, allocations: 0 / 352.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.00963, allocations: 341.4 kB / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.009635, allocations: 0 / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.00971, allocations: 15.94 kB / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.009714, allocations: 4 kB / 353.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.009723, allocations: 0 / 353.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.009727, allocations: 0 / 353.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.009729, allocations: 3.984 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.009869, allocations: 215.8 kB / 353.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.009883, allocations: 11.95 kB / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.009902, allocations: 4 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.009973, allocations: 4 kB / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.01002, allocations: 15.91 kB / 353.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.01003, allocations: 0 / 353.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.55e-05/0.0101, allocations: 163.8 kB / 353.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0101, allocations: 0 / 353.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.01039, allocations: 19.94 kB / 353.5 MB, free: 3.594 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.001124/0.01151, allocations: 383 kB / 353.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.01165, allocations: 35.67 kB / 354 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01165, allocations: 0 / 354 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.01169, allocations: 31.77 kB / 354 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.01204, allocations: 33.28 kB / 354 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.01249, allocations: 218.6 kB / 354.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.01253, allocations: 63.34 kB / 354.3 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.548e-05/0.01257, allocations: 7.984 kB / 354.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.01261, allocations: 16.5 kB / 354.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.01261, allocations: 4 kB / 354.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of Templates: time 0.004079/0.01669, allocations: 1.306 MB / 355.6 MB, free: 1.547 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) [Timeout 240] 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","",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.465870589017868]