Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009986/0.0009986, allocations: 113.9 kB / 18.46 MB, free: 4.605 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.001031/0.001031, allocations: 190 kB / 19.39 MB, free: 3.676 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.238/1.238, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1782/0.1782, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.286, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002591/0.2887, allocations: 1.666 MB / 0.5212 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.2893, allocations: 457 kB / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.2894, allocations: 0 / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.2896, allocations: 23.61 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.2898, allocations: 35.56 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.2901, allocations: 140 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.2902, allocations: 84.61 kB / 0.5219 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.2903, allocations: 17.16 kB / 0.522 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.2904, allocations: 34.19 kB / 0.522 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.2905, allocations: 34.06 kB / 0.522 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.2905, allocations: 5.562 kB / 0.522 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.2906, allocations: 62.92 kB / 0.5221 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.2907, allocations: 24.86 kB / 0.5221 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.2907, allocations: 29.05 kB / 0.5221 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.2909, allocations: 116.8 kB / 0.5222 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2909, allocations: 1.156 kB / 0.5222 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2909, allocations: 0 / 0.5222 GB, free: 1.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.291, allocations: 0 / 0.5222 GB, free: 1.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004401/0.2914, allocations: 414.5 kB / 0.5226 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2914, allocations: 13.2 kB / 0.5227 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.2915, allocations: 9.516 kB / 0.5227 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.2916, allocations: 199.7 kB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.2916, allocations: 7.156 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.2917, allocations: 1.781 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.2919, allocations: 89.94 kB / 0.5229 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2919, allocations: 7.938 kB / 0.523 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2919, allocations: 5.438 kB / 0.523 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.292, allocations: 0.6562 kB / 0.523 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.2922, allocations: 66.64 kB / 0.523 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.2926, allocations: 308.5 kB / 0.5233 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.2928, allocations: 72.34 kB / 0.5234 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.2929, allocations: 46.09 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.293, allocations: 1.312 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.293, allocations: 40.16 kB / 0.5235 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.293, allocations: 0 / 0.5235 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001401/0.2944, allocations: 371.4 kB / 0.5238 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2944, allocations: 78.58 kB / 0.5239 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2945, allocations: 150.8 kB / 0.524 GB, free: 464 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.2946, allocations: 30.86 kB / 0.5241 GB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.2946, allocations: 94 kB / 0.5242 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.2946, allocations: 29.83 kB / 0.5242 GB, free: 312 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.2947, allocations: 26.7 kB / 0.5242 GB, free: 288 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.2947, allocations: 324.7 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.295, allocations: 70.33 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.2953, allocations: 88.69 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.2958, allocations: 147.3 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2958, allocations: 0 / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005632/0.2964, allocations: 197.3 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2964, allocations: 5.469 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2964, allocations: 0 / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2964, allocations: 1.469 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2966, allocations: 37.72 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.2966, allocations: 0 / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.2968, allocations: 31.78 kB / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.2968, allocations: 6.516 kB / 0.5251 GB, free: 15.8 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 (10): * Single equations (assignments): 10 * 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.004e-05/0.2969, allocations: 120 kB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.2969, allocations: 13.91 kB / 0.5252 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000586/0.2975, allocations: 204.1 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2975, allocations: 0.75 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2975, allocations: 4.312 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.2976, allocations: 87.88 kB / 0.5255 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.2976, allocations: 6.203 kB / 0.5255 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.2978, allocations: 27.17 kB / 0.5255 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2978, allocations: 9.375 kB / 0.5255 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006621/0.2985, allocations: 284.3 kB / 0.5258 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006067/0.2991, allocations: 364.5 kB / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002649/0.2994, allocations: 91.59 kB / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.676e-05/0.2995, allocations: 110.1 kB / 0.5263 GB, free: 14.99 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.2995, allocations: 0 / 0.5263 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.3009, allocations: 0.506 MB / 0.5268 GB, free: 14.79 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005441/0.3015, allocations: 0.6379 MB / 0.5275 GB, free: 14.16 MB / 398.1 MB Notification: Performance of Templates: time 0.004908/0.3064, allocations: 2.458 MB / 0.5299 GB, free: 12.94 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches