Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 176.8 kB / 17.06 MB, free: 5.098 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.282/1.282, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008066/0.0008066, allocations: 100.3 kB / 292.2 MB, free: 10.94 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.3329/0.3329, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003044, allocations: 8 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3487, allocations: 61.89 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4692, allocations: 88.55 MB / 0.596 GB, free: 6.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.4695, allocations: 83.92 kB / 0.5961 GB, free: 6.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.481, allocations: 4.587 MB / 0.6006 GB, free: 1.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.481, allocations: 4 kB / 0.6006 GB, free: 1.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.481, allocations: 3.938 kB / 0.6006 GB, free: 1.918 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000499/0.4815, allocations: 418.8 kB / 0.601 GB, free: 1.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4816, allocations: 8.562 kB / 0.601 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.4817, allocations: 15.84 kB / 0.601 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.4819, allocations: 201.1 kB / 0.6012 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.482, allocations: 7.953 kB / 0.6012 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.482, allocations: 8 kB / 0.6012 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4822, allocations: 69.61 kB / 0.6013 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4822, allocations: 0 / 0.6013 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4822, allocations: 0 / 0.6013 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4822, allocations: 0 / 0.6013 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.4824, allocations: 59.91 kB / 0.6014 GB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.4828, allocations: 304.7 kB / 0.6016 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.483, allocations: 66.58 kB / 0.6017 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4831, allocations: 4 kB / 0.6017 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4831, allocations: 30.56 kB / 0.6017 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4831, allocations: 0 / 0.6017 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001442/0.4846, allocations: 469 kB / 0.6022 GB, free: 128 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.4846, allocations: 56.64 kB / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.4848, allocations: 172.4 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4848, allocations: 25.7 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.4849, allocations: 108 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.4849, allocations: 47.38 kB / 0.6026 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.485, allocations: 4 kB / 0.6026 GB, free: 15.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4851, allocations: 322.8 kB / 0.6029 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4852, allocations: 51.97 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.4853, allocations: 56.02 kB / 0.603 GB, free: 15.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.4855, allocations: 47.98 kB / 0.603 GB, free: 15.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4855, allocations: 0 / 0.603 GB, free: 15.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003135/0.4858, allocations: 161.5 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4858, allocations: 9.406 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4858, allocations: 0 / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4859, allocations: 0 / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.486, allocations: 35.92 kB / 0.6032 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.486, allocations: 0 / 0.6032 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.4861, allocations: 19.94 kB / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.4861, allocations: 0 / 0.6033 GB, free: 14.99 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 (11): * Single equations (assignments): 11 * 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 0.0001149/0.4862, allocations: 127.2 kB / 0.6034 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.4862, allocations: 15.81 kB / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.4866, allocations: 174.3 kB / 0.6036 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4866, allocations: 7.984 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4867, allocations: 7.938 kB / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4867, allocations: 0 / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.4873, allocations: 492.6 kB / 0.604 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4873, allocations: 4 kB / 0.604 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.4874, allocations: 31.92 kB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4874, allocations: 4 kB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4875, allocations: 3.953 kB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.4875, allocations: 8.062 kB / 0.6041 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4875, allocations: 0 / 0.6041 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.4879, allocations: 296.3 kB / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.4879, allocations: 97 kB / 0.6045 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.488, allocations: 0 / 0.6045 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.4881, allocations: 23.98 kB / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.4881, allocations: 11.97 kB / 0.6045 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4881, allocations: 4 kB / 0.6045 GB, free: 13.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.4883, allocations: 135.1 kB / 0.6046 GB, free: 13.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4883, allocations: 0 / 0.6046 GB, free: 13.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.4885, allocations: 39.92 kB / 0.6047 GB, free: 13.41 MB / 426.7 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 (11): * Single equations (assignments): 11 * 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.001039/0.4896, allocations: 462.3 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.4899, allocations: 123.8 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.49, allocations: 0 / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4901, allocations: 71.97 kB / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.4903, allocations: 19.94 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.4909, allocations: 299 kB / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4912, allocations: 0.7082 MB / 0.6063 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.204e-05/0.4913, allocations: 20.55 kB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.4913, allocations: 19.42 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4913, allocations: 0 / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Templates: time 0.003871/0.4952, allocations: 1.503 MB / 0.6078 GB, free: 10.34 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches