Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008229/0.0008229, allocations: 87.45 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3314/0.3314, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.348e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3104/0.416, allocations: 87.39 MB / 0.5581 GB, free: 1.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4162, allocations: 74.84 kB / 0.5582 GB, free: 1.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.4271, allocations: 4.413 MB / 0.5625 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4271, allocations: 0 / 0.5625 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.4272, allocations: 0 / 0.5625 GB, free: 13.18 MB / 394.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.0005022/0.4277, allocations: 397.4 kB / 0.5629 GB, free: 12.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4277, allocations: 8.031 kB / 0.5629 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.4277, allocations: 7.906 kB / 0.5629 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.428, allocations: 190.9 kB / 0.5631 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.428, allocations: 0 / 0.5631 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.428, allocations: 8.547 kB / 0.5631 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.4282, allocations: 67.42 kB / 0.5632 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4282, allocations: 1.375 kB / 0.5632 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.4282, allocations: 4 kB / 0.5632 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4282, allocations: 0 / 0.5632 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.4283, allocations: 27.22 kB / 0.5632 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.4287, allocations: 320.7 kB / 0.5635 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.4288, allocations: 38.58 kB / 0.5635 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.4288, allocations: 16.86 kB / 0.5636 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.4288, allocations: 0 / 0.5636 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.4289, allocations: 34.5 kB / 0.5636 GB, free: 11.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.4289, allocations: 1.406 kB / 0.5636 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004548/0.4293, allocations: 164.5 kB / 0.5638 GB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.4294, allocations: 85.05 kB / 0.5638 GB, free: 11.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.4295, allocations: 127.7 kB / 0.564 GB, free: 11.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4296, allocations: 29.7 kB / 0.564 GB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.4296, allocations: 96.06 kB / 0.5641 GB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.4296, allocations: 15.72 kB / 0.5641 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.4297, allocations: 4 kB / 0.5641 GB, free: 11.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4298, allocations: 322.8 kB / 0.5644 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.4298, allocations: 20 kB / 0.5644 GB, free: 11.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.4299, allocations: 37.77 kB / 0.5645 GB, free: 10.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.4299, allocations: 27.98 kB / 0.5645 GB, free: 10.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4299, allocations: 0 / 0.5645 GB, free: 10.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001271/0.4301, allocations: 85.58 kB / 0.5646 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4301, allocations: 4 kB / 0.5646 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4301, allocations: 4.594 kB / 0.5646 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4301, allocations: 7.953 kB / 0.5646 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4302, allocations: 24.02 kB / 0.5646 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4303, allocations: 0 / 0.5646 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.4303, allocations: 19.98 kB / 0.5646 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.4303, allocations: 0 / 0.5646 GB, free: 10.82 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.824e-05/0.4304, allocations: 108.9 kB / 0.5647 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.4305, allocations: 11.84 kB / 0.5647 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.4306, allocations: 114.4 kB / 0.5648 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4307, allocations: 7.891 kB / 0.5649 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4307, allocations: 0 / 0.5649 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4307, allocations: 0 / 0.5649 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.4311, allocations: 378.6 kB / 0.5652 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4311, allocations: 0.8125 kB / 0.5652 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.4312, allocations: 23.98 kB / 0.5652 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4312, allocations: 7.953 kB / 0.5652 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4312, allocations: 3.938 kB / 0.5653 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4312, allocations: 0 / 0.5653 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4312, allocations: 4 kB / 0.5653 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.4314, allocations: 187.4 kB / 0.5654 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.4314, allocations: 85.16 kB / 0.5655 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4315, allocations: 11.92 kB / 0.5655 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.4316, allocations: 20 kB / 0.5655 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.4316, allocations: 7.984 kB / 0.5656 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.4316, allocations: 0 / 0.5656 GB, free: 9.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.292e-05/0.4317, allocations: 110.7 kB / 0.5657 GB, free: 9.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4317, allocations: 0 / 0.5657 GB, free: 9.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.432, allocations: 31.98 kB / 0.5657 GB, free: 9.629 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008312/0.4328, allocations: 406.9 kB / 0.5661 GB, free: 9.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.433, allocations: 48 kB / 0.5661 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.433, allocations: 0 / 0.5661 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.4331, allocations: 35.92 kB / 0.5662 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.4332, allocations: 15.98 kB / 0.5662 GB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.4336, allocations: 132.7 kB / 0.5663 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4338, allocations: 0.7043 MB / 0.567 GB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.532e-05/0.4339, allocations: 28.94 kB / 0.567 GB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.434, allocations: 11.44 kB / 0.567 GB, free: 8.281 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.434, allocations: 0 / 0.567 GB, free: 8.281 MB / 394.7 MB Notification: Performance of Templates: time 0.003459/0.4375, allocations: 1.473 MB / 0.5685 GB, free: 6.812 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches