Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001787/0.001787, allocations: 194 kB / 18.77 MB, free: 4.742 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 13.78 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.1971/0.1971, allocations: 44.18 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 59.05 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09746, allocations: 60.83 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003102/0.1006, allocations: 1.681 MB / 470.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1021, allocations: 1.043 MB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.1022, allocations: 0 / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.1024, allocations: 23.91 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1026, allocations: 35.84 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.103, allocations: 158.6 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1031, allocations: 63.83 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1032, allocations: 20 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.1033, allocations: 27.84 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1035, allocations: 31.84 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.1035, allocations: 0 / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1036, allocations: 51.97 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.1037, allocations: 19.92 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.1037, allocations: 15.88 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1039, allocations: 80.09 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1039, allocations: 0 / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1039, allocations: 4 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1039, allocations: 0 / 472.4 MB, free: 11.56 MB / 350.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.0004859/0.1044, allocations: 391.2 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1045, allocations: 12.03 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.1045, allocations: 8.844 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1047, allocations: 184.3 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.1047, allocations: 384 / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1047, allocations: 4.375 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1049, allocations: 75.52 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.105, allocations: 4 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.105, allocations: 7.938 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.105, allocations: 0 / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1051, allocations: 39.95 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1056, allocations: 300.7 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1057, allocations: 50.55 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.1058, allocations: 28.88 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1058, allocations: 3.938 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1059, allocations: 34.56 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1059, allocations: 4 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007837/0.1067, allocations: 221.1 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.1067, allocations: 77.11 kB / 473.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1069, allocations: 144.8 kB / 474 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1069, allocations: 29.7 kB / 474 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.1069, allocations: 96.06 kB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.107, allocations: 19.66 kB / 474.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.107, allocations: 25.7 kB / 474.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1071, allocations: 318.8 kB / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.1073, allocations: 39.97 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1074, allocations: 61.73 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1076, allocations: 80.8 kB / 474.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1077, allocations: 0 / 474.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002975/0.108, allocations: 133.5 kB / 474.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.108, allocations: 4 kB / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.108, allocations: 320 / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.108, allocations: 0 / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1081, allocations: 23.98 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1082, allocations: 0 / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.1082, allocations: 15.92 kB / 474.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1082, allocations: 3.984 kB / 474.8 MB, free: 8.93 MB / 350.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 (7): * Single equations (assignments): 7 * 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.586e-05/0.1083, allocations: 122.4 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.1084, allocations: 7.906 kB / 474.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.1087, allocations: 133.9 kB / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1087, allocations: 4 kB / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1087, allocations: 288 / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1088, allocations: 3.938 kB / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.1093, allocations: 410.4 kB / 475.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1093, allocations: 0 / 475.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.1094, allocations: 23.97 kB / 475.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1094, allocations: 0 / 475.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1094, allocations: 7.938 kB / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1094, allocations: 0 / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1094, allocations: 7.938 kB / 475.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.1098, allocations: 219.4 kB / 475.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.1098, allocations: 85.02 kB / 475.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1098, allocations: 3.938 kB / 475.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.1099, allocations: 11.98 kB / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.11, allocations: 7.922 kB / 475.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.11, allocations: 8 kB / 475.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.338e-05/0.1101, allocations: 103.3 kB / 476 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1101, allocations: 0 / 476 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1104, allocations: 24 kB / 476 MB, free: 7.664 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009819/0.1113, allocations: 445.4 kB / 476.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.1117, allocations: 95.89 kB / 476.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1117, allocations: 0 / 476.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1118, allocations: 51.84 kB / 476.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1122, allocations: 15.98 kB / 476.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.1126, allocations: 237.5 kB / 476.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1129, allocations: 0.6926 MB / 477.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.1129, allocations: 23.42 kB / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1129, allocations: 0 / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of Templates: time 0.003611/0.1165, allocations: 1.8 MB / 479.3 MB, free: 4.434 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches