Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001341/0.001341, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001412/0.001412, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 76.12 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.337, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003218/0.3402, allocations: 1.649 MB / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3422, allocations: 1.263 MB / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.3422, allocations: 0 / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.3425, allocations: 27.84 kB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.3428, allocations: 83.62 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.3432, allocations: 182.9 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3434, allocations: 79.7 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.3435, allocations: 11.98 kB / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.3435, allocations: 35.84 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3437, allocations: 27.86 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3437, allocations: 4 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.3439, allocations: 95.88 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.3439, allocations: 27.91 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.344, allocations: 23.86 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.3442, allocations: 149.9 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3442, allocations: 0 / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3442, allocations: 0 / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3442, allocations: 0 / 0.5654 GB, free: 0.5195 MB / 398.1 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.0005368/0.3448, allocations: 345.6 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3448, allocations: 8.031 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3449, allocations: 8.891 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3451, allocations: 144.8 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3451, allocations: 4.312 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3451, allocations: 8.375 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3453, allocations: 98.78 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3453, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3454, allocations: 4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3454, allocations: 3.938 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3455, allocations: 47.83 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.346, allocations: 244.5 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.3461, allocations: 46.56 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.3462, allocations: 24.94 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3462, allocations: 7.969 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3463, allocations: 38.5 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3463, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009009/0.3472, allocations: 237.2 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.3472, allocations: 81.11 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3474, allocations: 152.5 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3474, allocations: 25.7 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.3475, allocations: 92.14 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.3476, allocations: 31.73 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.3476, allocations: 17.72 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.3478, allocations: 322.8 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.348, allocations: 39.97 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3481, allocations: 79.45 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.3483, allocations: 88.78 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3483, allocations: 0 / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003192/0.3487, allocations: 137.5 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3487, allocations: 4 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3487, allocations: 0 / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3487, allocations: 0 / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3488, allocations: 19.98 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3489, allocations: 0 / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.3489, allocations: 11.98 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.3489, allocations: 0 / 0.5677 GB, free: 13.99 MB / 414.1 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 0.0001139/0.349, allocations: 125.8 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.3491, allocations: 15.88 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.3495, allocations: 138.6 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3495, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3495, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3495, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.35, allocations: 362 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.35, allocations: 0 / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/0.3501, allocations: 23.92 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3501, allocations: 3.938 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3501, allocations: 0 / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3501, allocations: 0 / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3501, allocations: 0 / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.3505, allocations: 231.4 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.3505, allocations: 11.95 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.3505, allocations: 7.984 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.3506, allocations: 4 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.3507, allocations: 7.984 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3507, allocations: 0 / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3508, allocations: 115.2 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3508, allocations: 3.938 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.3511, allocations: 43.86 kB / 0.5687 GB, free: 12.84 MB / 414.1 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.002029/0.3532, allocations: 0.5303 MB / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.3535, allocations: 91.91 kB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3535, allocations: 0 / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3537, allocations: 43.91 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.3541, allocations: 23.92 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.3547, allocations: 239.6 kB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9e-05/0.3548, allocations: 79.31 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.3549, allocations: 19.42 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3549, allocations: 0 / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Templates: time 0.004747/0.3596, allocations: 2.22 MB / 0.5719 GB, free: 9.777 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 8.184475243091583]