Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.001239/0.00124, allocations: 186.1 kB / 19.38 MB, free: 3.68 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.316/1.316, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2033/0.2033, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2947, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003143/0.2979, allocations: 1.61 MB / 0.5212 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.2987, allocations: 421.7 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.2989, allocations: 1.156 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.2992, allocations: 93.58 kB / 0.5217 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.2995, allocations: 78.48 kB / 0.5217 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.2999, allocations: 115 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.3002, allocations: 92.62 kB / 0.5219 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3003, allocations: 28.42 kB / 0.522 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3004, allocations: 42.39 kB / 0.522 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3006, allocations: 61.83 kB / 0.5221 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.3006, allocations: 4.406 kB / 0.5221 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3007, allocations: 49.55 kB / 0.5221 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.3008, allocations: 26.45 kB / 0.5221 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.3009, allocations: 40.5 kB / 0.5222 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.3011, allocations: 132.2 kB / 0.5223 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3011, allocations: 5.219 kB / 0.5223 GB, free: 1.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3011, allocations: 0 / 0.5223 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3012, allocations: 0 / 0.5223 GB, free: 1.926 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005278/0.3017, allocations: 418.8 kB / 0.5227 GB, free: 1.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3017, allocations: 9.594 kB / 0.5227 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.3018, allocations: 18.83 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.302, allocations: 209.9 kB / 0.5229 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.302, allocations: 3.406 kB / 0.5229 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.3021, allocations: 8.078 kB / 0.523 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3022, allocations: 81.64 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3023, allocations: 1.641 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3023, allocations: 1.219 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3023, allocations: 1.125 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.3024, allocations: 45.84 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.3029, allocations: 346.9 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.303, allocations: 70.55 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.3031, allocations: 24.2 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3031, allocations: 5.688 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.3031, allocations: 36.45 kB / 0.5235 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3032, allocations: 0 / 0.5235 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001052/0.3042, allocations: 330.7 kB / 0.5239 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.3042, allocations: 52.78 kB / 0.5239 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3045, allocations: 230.5 kB / 0.5241 GB, free: 484 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3045, allocations: 25.7 kB / 0.5241 GB, free: 452 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.3046, allocations: 115.3 kB / 0.5243 GB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3046, allocations: 43.36 kB / 0.5243 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3047, allocations: 33.94 kB / 0.5243 GB, free: 280 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.3048, allocations: 323.9 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3049, allocations: 47.92 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.305, allocations: 44.06 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.3052, allocations: 108.5 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3052, allocations: 4 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002954/0.3055, allocations: 154.9 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3056, allocations: 5.734 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3056, allocations: 0 / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3056, allocations: 5.828 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3057, allocations: 29.48 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3057, allocations: 0 / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.3058, allocations: 13.34 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3058, allocations: 3.125 kB / 0.525 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 (13): * Single equations (assignments): 13 * 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 0.0001064/0.3059, allocations: 137.1 kB / 0.5252 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.306, allocations: 14.06 kB / 0.5252 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.3064, allocations: 190.1 kB / 0.5254 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.3064, allocations: 5.203 kB / 0.5254 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.728e-05/0.3065, allocations: 1.188 kB / 0.5254 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.3065, allocations: 91.97 kB / 0.5255 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3066, allocations: 6.234 kB / 0.5255 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3066, allocations: 12.62 kB / 0.5255 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3067, allocations: 8.688 kB / 0.5255 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003576/0.3071, allocations: 232.1 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003938/0.3075, allocations: 333.3 kB / 0.526 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001326/0.3076, allocations: 56.53 kB / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.3078, allocations: 170.9 kB / 0.5262 GB, free: 14.94 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.3078, allocations: 0 / 0.5262 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.3094, allocations: 0.5113 MB / 0.5267 GB, free: 14.73 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008561/0.3102, allocations: 0.7088 MB / 0.5274 GB, free: 14.08 MB / 398.1 MB Notification: Performance of Templates: time 0.005027/0.3153, allocations: 1.862 MB / 0.5292 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches