Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.00117, allocations: 108.4 kB / 17.98 MB, free: 5.379 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.001108/0.001108, allocations: 193.3 kB / 18.9 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2156/0.2156, allocations: 44.17 MB / 336.9 MB, free: 2.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.62 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09411, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002699/0.09684, allocations: 1.677 MB / 471.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.09815, allocations: 1.012 MB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.09821, allocations: 0 / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.09839, allocations: 15.92 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.09859, allocations: 39.84 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.09892, allocations: 118.7 kB / 472.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.09906, allocations: 67.77 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.09916, allocations: 20.11 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.09922, allocations: 19.94 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.09934, allocations: 31.83 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.09937, allocations: 4 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.09948, allocations: 55.98 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.09955, allocations: 19.91 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.09958, allocations: 27.8 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.09973, allocations: 63.91 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09974, allocations: 0 / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09975, allocations: 0 / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.09976, allocations: 0 / 472.5 MB, free: 11.54 MB / 350.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.0004455/0.1002, allocations: 387.5 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1003, allocations: 8.031 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.1003, allocations: 8.844 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1005, allocations: 196.2 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1005, allocations: 384 / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1005, allocations: 4.375 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1007, allocations: 79.25 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1007, allocations: 0 / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1007, allocations: 4 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1008, allocations: 0 / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1009, allocations: 39.97 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.1013, allocations: 284.7 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1014, allocations: 42.5 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.1015, allocations: 28.94 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1015, allocations: 0 / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1015, allocations: 34.56 kB / 473.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1015, allocations: 0 / 473.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007288/0.1023, allocations: 205.3 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1023, allocations: 77.11 kB / 473.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1025, allocations: 145.3 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1025, allocations: 25.7 kB / 474.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.1025, allocations: 92.05 kB / 474.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1026, allocations: 23.64 kB / 474.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1026, allocations: 21.72 kB / 474.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1027, allocations: 322.8 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1028, allocations: 31.97 kB / 474.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.103, allocations: 45.69 kB / 474.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.1032, allocations: 80.75 kB / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1032, allocations: 4.031 kB / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002575/0.1034, allocations: 113.7 kB / 474.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1035, allocations: 4 kB / 474.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1035, allocations: 3.938 kB / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1035, allocations: 4 kB / 474.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1036, allocations: 15.98 kB / 474.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1036, allocations: 4.062 kB / 474.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.1037, allocations: 27.92 kB / 474.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1037, allocations: 0 / 474.9 MB, free: 8.988 MB / 350.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 8.186e-05/0.1038, allocations: 122.3 kB / 475 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1038, allocations: 3.906 kB / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.1042, allocations: 118 kB / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1042, allocations: 8 kB / 475.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1042, allocations: 3.984 kB / 475.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1042, allocations: 3.938 kB / 475.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.1047, allocations: 382.5 kB / 475.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1047, allocations: 0 / 475.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.1048, allocations: 15.98 kB / 475.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1048, allocations: 8 kB / 475.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1048, allocations: 7.938 kB / 475.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1048, allocations: 0 / 475.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1048, allocations: 0 / 475.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1051, allocations: 207.3 kB / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.1052, allocations: 81.02 kB / 475.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1052, allocations: 11.92 kB / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.1053, allocations: 8 kB / 475.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.1053, allocations: 11.98 kB / 475.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1053, allocations: 0 / 475.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.175e-05/0.1054, allocations: 103.3 kB / 475.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1054, allocations: 0 / 475.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1057, allocations: 27.98 kB / 476 MB, free: 7.781 MB / 350.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.0009425/0.1067, allocations: 445.9 kB / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.1069, allocations: 87.86 kB / 476.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.107, allocations: 4 kB / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.1071, allocations: 39.97 kB / 476.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1074, allocations: 19.92 kB / 476.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.1078, allocations: 227.8 kB / 476.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1081, allocations: 0.6962 MB / 477.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1082, allocations: 15.44 kB / 477.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1082, allocations: 0 / 477.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of Templates: time 0.003431/0.1116, allocations: 1.711 MB / 479.2 MB, free: 4.66 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches