Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 105.1 kB / 16.94 MB, free: 5.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 191.3 kB / 17.86 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2045/0.2045, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 65.84 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.09071, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.002607/0.09335, allocations: 1.568 MB / 442.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.09445, allocations: 0.9494 MB / 443.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.09452, allocations: 0 / 443.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.09478, allocations: 23.86 kB / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.09497, allocations: 47.77 kB / 443.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.09529, allocations: 87.8 kB / 443.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.09542, allocations: 67.84 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.09554, allocations: 20.12 kB / 443.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.09558, allocations: 27.84 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006368/0.09623, allocations: 35.84 kB / 444 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.09626, allocations: 4 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.09637, allocations: 47.97 kB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.09642, allocations: 23.98 kB / 444.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.09646, allocations: 19.81 kB / 444.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.09664, allocations: 103.7 kB / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09666, allocations: 7.938 kB / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09666, allocations: 0 / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.09667, allocations: 0 / 444.2 MB, free: 3.863 MB / 318.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.0004074/0.09708, allocations: 387.2 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.09713, allocations: 11.89 kB / 444.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.09718, allocations: 8.844 kB / 444.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.09734, allocations: 192 kB / 444.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.09736, allocations: 4.375 kB / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.09739, allocations: 384 / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.09756, allocations: 92.11 kB / 444.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.09758, allocations: 7.938 kB / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.0976, allocations: 0 / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.09761, allocations: 0 / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.09771, allocations: 43.91 kB / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.09808, allocations: 392.9 kB / 445.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.09834, allocations: 93.14 kB / 445.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.09842, allocations: 33.8 kB / 445.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.09845, allocations: 4 kB / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.09847, allocations: 30.56 kB / 445.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.09848, allocations: 0 / 445.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006576/0.09914, allocations: 221.1 kB / 445.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.0992, allocations: 110.8 kB / 445.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.0993, allocations: 149.3 kB / 446 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.09932, allocations: 25.7 kB / 446 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.09936, allocations: 100 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.09939, allocations: 27.56 kB / 446.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.09943, allocations: 25.7 kB / 446.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.09948, allocations: 326.8 kB / 446.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.09957, allocations: 27.98 kB / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.09966, allocations: 54.48 kB / 446.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.09982, allocations: 93.8 kB / 446.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.09983, allocations: 4.031 kB / 446.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.1, allocations: 117.5 kB / 446.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1001, allocations: 4 kB / 446.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1001, allocations: 0 / 446.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1001, allocations: 3.984 kB / 446.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.1002, allocations: 20 kB / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1002, allocations: 7.922 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.1003, allocations: 8 kB / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1003, allocations: 0 / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 6.438e-05/0.1003, allocations: 133.7 kB / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.1004, allocations: 11.91 kB / 446.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.1007, allocations: 137.7 kB / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1007, allocations: 64 / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1007, allocations: 11.94 kB / 447.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1007, allocations: 0 / 447.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.1012, allocations: 0.4909 MB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1012, allocations: 4 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.1013, allocations: 31.8 kB / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1013, allocations: 0 / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1013, allocations: 3.984 kB / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1013, allocations: 4 kB / 447.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1013, allocations: 4.031 kB / 447.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.1016, allocations: 291.5 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.1016, allocations: 92.94 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1017, allocations: 0.6094 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1018, allocations: 12 kB / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.1018, allocations: 7.984 kB / 448 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1018, allocations: 7.938 kB / 448 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.256e-05/0.1019, allocations: 103.3 kB / 448.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1019, allocations: 4 kB / 448.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.1022, allocations: 27.98 kB / 448.1 MB, free: 15.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009708/0.1032, allocations: 453.4 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.1035, allocations: 87.89 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1035, allocations: 0 / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1036, allocations: 51.91 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.1041, allocations: 23.92 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1046, allocations: 241.5 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1048, allocations: 0.7002 MB / 449.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.1049, allocations: 19.42 kB / 449.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1049, allocations: 3.938 kB / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of Templates: time 0.003512/0.1084, allocations: 1.834 MB / 451.5 MB, free: 12.18 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches