Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 109.5 kB / 18.45 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.001214/0.001214, allocations: 184.3 kB / 19.39 MB, free: 3.672 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.246/1.246, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.1901/0.1901, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 71.88 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2883, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002463/0.2908, allocations: 1.582 MB / 0.5212 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000626/0.2914, allocations: 417.8 kB / 0.5216 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.2915, allocations: 1.25 kB / 0.5216 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.2918, allocations: 87.59 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.292, allocations: 76.14 kB / 0.5217 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2922, allocations: 111.2 kB / 0.5218 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.2924, allocations: 76.98 kB / 0.5219 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.2925, allocations: 18.7 kB / 0.5219 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.2926, allocations: 34.94 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.2927, allocations: 54.05 kB / 0.522 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2927, allocations: 3.5 kB / 0.522 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.2928, allocations: 43.73 kB / 0.522 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.2928, allocations: 23.62 kB / 0.5221 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.2929, allocations: 31.08 kB / 0.5221 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.293, allocations: 110.7 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2931, allocations: 0 / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2931, allocations: 0.9062 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2931, allocations: 0 / 0.5222 GB, free: 2.004 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.000376/0.2935, allocations: 413.5 kB / 0.5226 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2935, allocations: 13.66 kB / 0.5226 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.2935, allocations: 14.86 kB / 0.5226 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2937, allocations: 198.2 kB / 0.5228 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2937, allocations: 6.438 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.2937, allocations: 3.031 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.2938, allocations: 60.7 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2939, allocations: 1.094 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.2939, allocations: 0 / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2939, allocations: 5.062 kB / 0.5229 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.23e-05/0.294, allocations: 26.11 kB / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.2943, allocations: 315.1 kB / 0.5232 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2944, allocations: 45.17 kB / 0.5232 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.2945, allocations: 18.55 kB / 0.5233 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2945, allocations: 1.859 kB / 0.5233 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.2945, allocations: 32.39 kB / 0.5233 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2945, allocations: 4 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007949/0.2953, allocations: 235.1 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.453e-05/0.2954, allocations: 52.53 kB / 0.5236 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.2955, allocations: 233.8 kB / 0.5238 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.2956, allocations: 25.7 kB / 0.5238 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.2956, allocations: 108.9 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2956, allocations: 25.98 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.2957, allocations: 24.97 kB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.2957, allocations: 323.3 kB / 0.5243 GB, free: 128 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.2958, allocations: 33.61 kB / 0.5243 GB, free: 116 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.2959, allocations: 31.36 kB / 0.5243 GB, free: 108 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.296, allocations: 75.05 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.296, allocations: 1.281 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001929/0.2962, allocations: 113.2 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2963, allocations: 5.594 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2963, allocations: 0 / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2963, allocations: 5.125 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.2964, allocations: 17.66 kB / 0.5246 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2964, allocations: 7.938 kB / 0.5246 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.2964, allocations: 9.266 kB / 0.5246 GB, free: 0 / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2965, allocations: 3.562 kB / 0.5246 GB, free: 0 / 382.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 (8): * Single equations (assignments): 8 * 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.0001216/0.2966, allocations: 129.1 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.2966, allocations: 12.34 kB / 0.5247 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.2969, allocations: 132.8 kB / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2969, allocations: 5.219 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2969, allocations: 4.984 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.297, allocations: 88.14 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.297, allocations: 1.25 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.2971, allocations: 6.344 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.2971, allocations: 8.688 kB / 0.5249 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002526/0.2974, allocations: 195.6 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002798/0.2977, allocations: 297.8 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.503e-05/0.2978, allocations: 36.08 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.2979, allocations: 176.5 kB / 0.5256 GB, free: 15.19 MB / 398.1 MB Notification: Performance of Backend: time 1.81e-07/0.2979, allocations: 0 / 0.5256 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.2992, allocations: 493.6 kB / 0.5261 GB, free: 14.99 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006157/0.2998, allocations: 0.6781 MB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.00384/0.3037, allocations: 1.548 MB / 0.5283 GB, free: 13.88 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches