Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001241/0.001241, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001482/0.001482, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.437/1.437, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.225/0.225, allocations: 34.27 MB / 295.5 MB, free: 14.56 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 72.06 kB / 443.2 MB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 66.01 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.004298/0.3645, allocations: 1.669 MB / 0.4989 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3659, allocations: 0.5677 MB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.366, allocations: 0 / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008197/0.3668, allocations: 455.1 kB / 0.4999 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005889/0.3674, allocations: 285.4 kB / 0.5001 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.3679, allocations: 182.2 kB / 0.5003 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.3681, allocations: 178.4 kB / 0.5005 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3683, allocations: 18.05 kB / 0.5005 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3684, allocations: 122.4 kB / 0.5006 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.3686, allocations: 249 kB / 0.5009 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3686, allocations: 3.156 kB / 0.5009 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3688, allocations: 47.08 kB / 0.5009 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.3688, allocations: 83.17 kB / 0.501 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.3689, allocations: 78.41 kB / 0.5011 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.3692, allocations: 285 kB / 0.5013 GB, free: 27.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3692, allocations: 0 / 0.5013 GB, free: 27.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3692, allocations: 0 / 0.5013 GB, free: 27.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3692, allocations: 4 kB / 0.5013 GB, free: 27.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006561/0.3699, allocations: 0.5873 MB / 0.5019 GB, free: 27.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3699, allocations: 12.77 kB / 0.5019 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.37, allocations: 47.73 kB / 0.502 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3702, allocations: 244.1 kB / 0.5022 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3703, allocations: 7.469 kB / 0.5022 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.3703, allocations: 7.562 kB / 0.5022 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3704, allocations: 64.8 kB / 0.5023 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3705, allocations: 0 / 0.5023 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3705, allocations: 3.984 kB / 0.5023 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3705, allocations: 7.031 kB / 0.5023 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3706, allocations: 36.94 kB / 0.5023 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.371, allocations: 341.6 kB / 0.5027 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3711, allocations: 46.02 kB / 0.5027 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.3712, allocations: 19.88 kB / 0.5027 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.3712, allocations: 2.344 kB / 0.5027 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.3712, allocations: 34.56 kB / 0.5027 GB, free: 26.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3712, allocations: 0 / 0.5027 GB, free: 26.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.00098/0.3722, allocations: 327 kB / 0.5031 GB, free: 26.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3722, allocations: 57.73 kB / 0.5031 GB, free: 26.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.373, allocations: 0.8608 MB / 0.504 GB, free: 26.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.373, allocations: 29.7 kB / 0.504 GB, free: 26.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3731, allocations: 217.5 kB / 0.5042 GB, free: 26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3732, allocations: 30.97 kB / 0.5042 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3732, allocations: 26.31 kB / 0.5042 GB, free: 25.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.3733, allocations: 359.7 kB / 0.5046 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.3734, allocations: 32.89 kB / 0.5046 GB, free: 25.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.3735, allocations: 30.75 kB / 0.5047 GB, free: 25.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3736, allocations: 76.62 kB / 0.5047 GB, free: 25.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3736, allocations: 0 / 0.5047 GB, free: 25.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002138/0.3738, allocations: 149 kB / 0.5049 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3738, allocations: 5.656 kB / 0.5049 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3738, allocations: 0 / 0.5049 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3739, allocations: 3.938 kB / 0.5049 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.374, allocations: 18.12 kB / 0.5049 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.374, allocations: 3.938 kB / 0.5049 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.374, allocations: 13.16 kB / 0.5049 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.374, allocations: 0 / 0.5049 GB, free: 25.49 MB / 446.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 (8): * Single equations (assignments): 8 * 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.0001573/0.3742, allocations: 219 kB / 0.5051 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.3742, allocations: 45.66 kB / 0.5052 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.3745, allocations: 174.8 kB / 0.5053 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3746, allocations: 0 / 0.5053 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3746, allocations: 7.062 kB / 0.5053 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3746, allocations: 3.938 kB / 0.5053 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.3751, allocations: 467.1 kB / 0.5058 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3751, allocations: 4.031 kB / 0.5058 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.3752, allocations: 23.14 kB / 0.5058 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3752, allocations: 3.938 kB / 0.5058 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3752, allocations: 0 / 0.5058 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3752, allocations: 3.234 kB / 0.5058 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3752, allocations: 3.984 kB / 0.5058 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3754, allocations: 246.5 kB / 0.5061 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.3755, allocations: 37.33 kB / 0.5061 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3755, allocations: 3.938 kB / 0.5061 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.3756, allocations: 10 kB / 0.5061 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3756, allocations: 7.953 kB / 0.5061 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3756, allocations: 3 kB / 0.5061 GB, free: 24.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004816/0.3761, allocations: 0.65 MB / 0.5067 GB, free: 24.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3761, allocations: 3.938 kB / 0.5068 GB, free: 24.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3764, allocations: 35.7 kB / 0.5068 GB, free: 24.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001819/0.3782, allocations: 498 kB / 0.5073 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.3784, allocations: 70.39 kB / 0.5073 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3784, allocations: 0 / 0.5073 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.3785, allocations: 39.84 kB / 0.5074 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3789, allocations: 30.19 kB / 0.5074 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.3799, allocations: 0.8447 MB / 0.5082 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.3801, allocations: 226.5 kB / 0.5084 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.069e-05/0.3801, allocations: 21.02 kB / 0.5085 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.3802, allocations: 21.31 kB / 0.5085 GB, free: 23.67 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3802, allocations: 7.875 kB / 0.5085 GB, free: 23.66 MB / 446.1 MB Notification: Performance of Templates: time 0.00536/0.3855, allocations: 1.577 MB / 0.51 GB, free: 23.42 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 5.0238715200684965]