Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001169, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001293/0.001293, allocations: 175.1 kB / 18.71 MB, free: 4.363 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2046/0.2046, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 67.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3486, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002782/0.3514, allocations: 1.65 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.3523, allocations: 447.6 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.3523, allocations: 1.188 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3527, allocations: 47.44 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.3529, allocations: 51.3 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.3534, allocations: 179.8 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3536, allocations: 81.38 kB / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3538, allocations: 20.89 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.3538, allocations: 39.08 kB / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3539, allocations: 40 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.354, allocations: 3.469 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3541, allocations: 49.11 kB / 0.5215 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.3542, allocations: 23.84 kB / 0.5215 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.3542, allocations: 30.62 kB / 0.5215 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3544, allocations: 103.4 kB / 0.5216 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3545, allocations: 0.6094 kB / 0.5216 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3545, allocations: 0 / 0.5216 GB, free: 1.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3545, allocations: 4 kB / 0.5216 GB, free: 1.891 MB / 382.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.0004515/0.3549, allocations: 406.7 kB / 0.522 GB, free: 1.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.355, allocations: 9.406 kB / 0.522 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.355, allocations: 9.453 kB / 0.522 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.3552, allocations: 197.7 kB / 0.5222 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3552, allocations: 6.219 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.3552, allocations: 3.625 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3554, allocations: 78.73 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3554, allocations: 0 / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3554, allocations: 1.438 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3555, allocations: 1.344 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.3556, allocations: 42.67 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.356, allocations: 316 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3563, allocations: 60.69 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.3564, allocations: 26.05 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3564, allocations: 5.562 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3565, allocations: 36.7 kB / 0.5228 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3565, allocations: 0 / 0.5228 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001487/0.358, allocations: 417.1 kB / 0.5232 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.358, allocations: 56.44 kB / 0.5232 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3581, allocations: 176.9 kB / 0.5234 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.3582, allocations: 27.02 kB / 0.5234 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.3582, allocations: 103.7 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.3582, allocations: 35.84 kB / 0.5235 GB, free: 348 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3583, allocations: 30.94 kB / 0.5236 GB, free: 320 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.3584, allocations: 321.6 kB / 0.5239 GB, free: 16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3585, allocations: 51.41 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3586, allocations: 63.55 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.3589, allocations: 128.2 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3589, allocations: 0 / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003409/0.3593, allocations: 160.2 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3593, allocations: 7.016 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3593, allocations: 7.875 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3593, allocations: 0.7031 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3594, allocations: 30.28 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3595, allocations: 0 / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.3595, allocations: 18.48 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3595, allocations: 3.188 kB / 0.5243 GB, free: 15.82 MB / 398.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 (11): * Single equations (assignments): 11 * 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 9.857e-05/0.3596, allocations: 125.2 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.3597, allocations: 9.703 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.3601, allocations: 186.2 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3601, allocations: 3.984 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3601, allocations: 1.656 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3601, allocations: 0.7031 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/0.3609, allocations: 0.4925 MB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3609, allocations: 1.594 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.361, allocations: 29.11 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.361, allocations: 5.703 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.361, allocations: 1.125 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3611, allocations: 2.891 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3611, allocations: 1.219 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.3615, allocations: 271.1 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.3615, allocations: 89.61 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.3616, allocations: 6.438 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.3617, allocations: 12.67 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.3617, allocations: 13.05 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3617, allocations: 6.812 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.3618, allocations: 135 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3619, allocations: 0 / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3621, allocations: 27.3 kB / 0.5257 GB, free: 14.8 MB / 398.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 (11): * Single equations (assignments): 11 * 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.001004/0.3631, allocations: 469 kB / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.3635, allocations: 135 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3635, allocations: 0 / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3637, allocations: 70.39 kB / 0.5263 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.364, allocations: 19.86 kB / 0.5264 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.3646, allocations: 270.2 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.3649, allocations: 0.7163 MB / 0.5273 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.679e-05/0.365, allocations: 29.17 kB / 0.5273 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.365, allocations: 15.72 kB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.365, allocations: 0 / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of Templates: time 0.004641/0.3697, allocations: 1.617 MB / 0.5289 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches