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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 185.6 kB / 17.06 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008565, allocations: 96.09 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3214/0.3214, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.00034, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3182, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.432, allocations: 88.74 MB / 0.5962 GB, free: 6.387 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4323, allocations: 75.89 kB / 0.5963 GB, free: 6.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01135/0.4437, allocations: 4.617 MB / 0.6008 GB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4437, allocations: 0 / 0.6008 GB, free: 1.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.4437, allocations: 7.938 kB / 0.6008 GB, free: 1.684 MB / 410.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.000498/0.4442, allocations: 406.9 kB / 0.6012 GB, free: 1.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4443, allocations: 8.562 kB / 0.6012 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.4443, allocations: 8 kB / 0.6012 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4446, allocations: 190.9 kB / 0.6014 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.4446, allocations: 7.953 kB / 0.6014 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.4447, allocations: 0 / 0.6014 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.4449, allocations: 75.39 kB / 0.6015 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4449, allocations: 0 / 0.6015 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4449, allocations: 3.938 kB / 0.6015 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4449, allocations: 4 kB / 0.6015 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.4451, allocations: 43.97 kB / 0.6015 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.4455, allocations: 296.7 kB / 0.6018 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.4456, allocations: 50.55 kB / 0.6018 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.4456, allocations: 8 kB / 0.6019 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4457, allocations: 34.56 kB / 0.6019 GB, free: 412 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4457, allocations: 0 / 0.6019 GB, free: 412 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007526/0.4464, allocations: 241.2 kB / 0.6021 GB, free: 164 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4465, allocations: 77.11 kB / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4467, allocations: 135.2 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4467, allocations: 29.7 kB / 0.6023 GB, free: 15.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.4468, allocations: 92.14 kB / 0.6024 GB, free: 15.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.4468, allocations: 23.64 kB / 0.6025 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4468, allocations: 0 / 0.6025 GB, free: 15.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4469, allocations: 322.8 kB / 0.6028 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.447, allocations: 35.97 kB / 0.6028 GB, free: 15.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.4471, allocations: 61.62 kB / 0.6029 GB, free: 15.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4473, allocations: 43.97 kB / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4473, allocations: 4.031 kB / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000272/0.4476, allocations: 129.5 kB / 0.603 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4476, allocations: 8 kB / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4476, allocations: 0 / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4476, allocations: 0 / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4478, allocations: 23.98 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4478, allocations: 0 / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.4478, allocations: 19.98 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4479, allocations: 0 / 0.6031 GB, free: 15.12 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.4479, allocations: 121.8 kB / 0.6032 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.448, allocations: 7.906 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.4483, allocations: 146.6 kB / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4483, allocations: 0 / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4483, allocations: 3.984 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4483, allocations: 0 / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.4488, allocations: 410.4 kB / 0.6037 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4488, allocations: 0 / 0.6037 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.4489, allocations: 27.92 kB / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4489, allocations: 0 / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.449, allocations: 0 / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.449, allocations: 7.984 kB / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.449, allocations: 4 kB / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.4493, allocations: 219.5 kB / 0.604 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.4493, allocations: 85.02 kB / 0.6041 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4494, allocations: 7.984 kB / 0.6041 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.4494, allocations: 12 kB / 0.6041 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.4495, allocations: 11.92 kB / 0.6041 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4495, allocations: 0 / 0.6041 GB, free: 13.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.564e-05/0.4496, allocations: 117.4 kB / 0.6042 GB, free: 13.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4496, allocations: 0 / 0.6042 GB, free: 13.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002628/0.4499, allocations: 31.89 kB / 0.6042 GB, free: 13.83 MB / 426.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 () * 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 (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.001082/0.451, allocations: 472.2 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.4513, allocations: 91.92 kB / 0.6048 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4513, allocations: 4 kB / 0.6048 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4514, allocations: 51.91 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.4516, allocations: 11.98 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.4521, allocations: 197.3 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4524, allocations: 0.6965 MB / 0.6057 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.482e-05/0.4525, allocations: 15.89 kB / 0.6057 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.4526, allocations: 23.42 kB / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4526, allocations: 0 / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of Templates: time 0.003889/0.4565, allocations: 1.426 MB / 0.6071 GB, free: 10.99 MB / 426.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches