Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 114 kB / 18.46 MB, free: 4.699 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.001314/0.001314, allocations: 181.9 kB / 19.39 MB, free: 3.781 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.261/1.261, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.1929/0.1929, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2843, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002454/0.2868, allocations: 1.622 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006402/0.2874, allocations: 451.9 kB / 0.5216 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.2875, allocations: 1 kB / 0.5216 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.288, allocations: 451 kB / 0.522 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.2884, allocations: 256.9 kB / 0.5223 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.2888, allocations: 170 kB / 0.5224 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.289, allocations: 167.4 kB / 0.5226 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.2891, allocations: 20.34 kB / 0.5226 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.2893, allocations: 111.3 kB / 0.5227 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.2895, allocations: 210.8 kB / 0.5229 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2895, allocations: 2.969 kB / 0.5229 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.222e-05/0.2896, allocations: 38.84 kB / 0.523 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.2897, allocations: 78.19 kB / 0.523 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.2898, allocations: 107.9 kB / 0.5231 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.2901, allocations: 254.8 kB / 0.5234 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2901, allocations: 0 / 0.5234 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2901, allocations: 0 / 0.5234 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2901, allocations: 0 / 0.5234 GB, free: 1.746 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.0005188/0.2906, allocations: 0.6422 MB / 0.524 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2907, allocations: 9.156 kB / 0.524 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.2907, allocations: 47.55 kB / 0.5241 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.2909, allocations: 301.6 kB / 0.5244 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2909, allocations: 5.688 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.291, allocations: 3.031 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2911, allocations: 58.58 kB / 0.5244 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2911, allocations: 0.6094 kB / 0.5244 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.2911, allocations: 6.688 kB / 0.5244 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2911, allocations: 0 / 0.5244 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.2912, allocations: 32.23 kB / 0.5245 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.2916, allocations: 395.8 kB / 0.5248 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2918, allocations: 50.36 kB / 0.5249 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.2919, allocations: 22.64 kB / 0.5249 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2919, allocations: 1.375 kB / 0.5249 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.116e-05/0.2919, allocations: 35.27 kB / 0.5249 GB, free: 392 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2919, allocations: 0 / 0.5249 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005115/0.2924, allocations: 237.7 kB / 0.5252 GB, free: 260 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.491e-05/0.2925, allocations: 53.62 kB / 0.5252 GB, free: 196 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.2933, allocations: 0.8604 MB / 0.5261 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2933, allocations: 25.7 kB / 0.5261 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.2935, allocations: 224 kB / 0.5263 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2935, allocations: 14.72 kB / 0.5263 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.2935, allocations: 22.39 kB / 0.5263 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2937, allocations: 359.3 kB / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.2937, allocations: 20.3 kB / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.2938, allocations: 20.36 kB / 0.5267 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.2939, allocations: 58.94 kB / 0.5268 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2939, allocations: 1.375 kB / 0.5268 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001986/0.2941, allocations: 121.5 kB / 0.5269 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2942, allocations: 5.5 kB / 0.5269 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2942, allocations: 0 / 0.5269 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2942, allocations: 5.312 kB / 0.5269 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.2943, allocations: 13.61 kB / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2943, allocations: 0 / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.2943, allocations: 14.69 kB / 0.5269 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2944, allocations: 6.734 kB / 0.5269 GB, free: 15.12 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 (5): * Single equations (assignments): 5 * 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.0001776/0.2945, allocations: 206.5 kB / 0.5271 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.2946, allocations: 45.55 kB / 0.5272 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.2949, allocations: 141.5 kB / 0.5273 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2949, allocations: 1.656 kB / 0.5273 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2949, allocations: 0 / 0.5273 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.295, allocations: 122.1 kB / 0.5274 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.295, allocations: 8.234 kB / 0.5274 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.2951, allocations: 11.52 kB / 0.5274 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.2951, allocations: 1.875 kB / 0.5274 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002194/0.2954, allocations: 163.1 kB / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002737/0.2957, allocations: 304.6 kB / 0.5279 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.365e-05/0.2957, allocations: 26.14 kB / 0.5279 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006546/0.2964, allocations: 0.6509 MB / 0.5286 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Backend: time 2.41e-07/0.2964, allocations: 0 / 0.5286 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.2977, allocations: 0.5029 MB / 0.529 GB, free: 13.78 MB / 398.1 MB Notification: Performance of SimCode: time 0.001172/0.2989, allocations: 1.151 MB / 0.5302 GB, free: 12.91 MB / 398.1 MB Notification: Performance of Templates: time 0.004716/0.3036, allocations: 1.631 MB / 0.5318 GB, free: 12.1 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches