Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 171.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006838/0.0006838, allocations: 93.33 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2939/0.2939, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 12 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.001647/0.1048, allocations: 1.259 MB / 492.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004951/0.1053, allocations: 315.7 kB / 492.4 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.1054, allocations: 4 kB / 492.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1056, allocations: 123.8 kB / 492.5 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.1058, allocations: 71.84 kB / 492.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1061, allocations: 75.83 kB / 492.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.1062, allocations: 71.8 kB / 492.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.1063, allocations: 15.98 kB / 492.7 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.1063, allocations: 39.88 kB / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.1065, allocations: 63.8 kB / 492.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1065, allocations: 4 kB / 492.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.025e-05/0.1065, allocations: 24 kB / 492.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.1066, allocations: 23.91 kB / 492.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.1066, allocations: 53.45 kB / 492.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.1068, allocations: 79.88 kB / 493 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1068, allocations: 4 kB / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1068, allocations: 0 / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1068, allocations: 0 / 493 MB, free: 8.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003995/0.1072, allocations: 407.2 kB / 493.4 MB, free: 8.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1072, allocations: 11.97 kB / 493.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1073, allocations: 8.844 kB / 493.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1075, allocations: 211.7 kB / 493.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1075, allocations: 12.31 kB / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1075, allocations: 384 / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1076, allocations: 57.8 kB / 493.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1076, allocations: 0 / 493.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1077, allocations: 4 kB / 493.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1077, allocations: 0 / 493.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.1078, allocations: 23.98 kB / 493.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.1081, allocations: 300.8 kB / 494 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.1083, allocations: 54.58 kB / 494.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1084, allocations: 16.84 kB / 494.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1084, allocations: 8 kB / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1084, allocations: 30.56 kB / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1084, allocations: 0 / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005337/0.109, allocations: 185 kB / 494.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.109, allocations: 55.41 kB / 494.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1092, allocations: 259.3 kB / 494.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1093, allocations: 33.64 kB / 494.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.1093, allocations: 108.1 kB / 494.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.1094, allocations: 19.8 kB / 494.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-06/0.1094, allocations: 0 / 494.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1095, allocations: 330.8 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.1096, allocations: 23.98 kB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.1096, allocations: 23.98 kB / 495.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1098, allocations: 64.77 kB / 495.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1098, allocations: 0 / 495.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002274/0.11, allocations: 101.5 kB / 495.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.11, allocations: 4 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.11, allocations: 0 / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1101, allocations: 4 kB / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.1101, allocations: 15.98 kB / 495.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1101, allocations: 0 / 495.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.1102, allocations: 11.94 kB / 495.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1102, allocations: 4 kB / 495.4 MB, free: 6.102 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.323e-05/0.1103, allocations: 141.7 kB / 495.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.1103, allocations: 11.81 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.1106, allocations: 118.6 kB / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1106, allocations: 0 / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1106, allocations: 0 / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1106, allocations: 0 / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.111, allocations: 390.3 kB / 496 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.111, allocations: 384 / 496 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.1111, allocations: 15.98 kB / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1111, allocations: 0 / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1111, allocations: 8 kB / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1111, allocations: 3.938 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1111, allocations: 4 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1113, allocations: 187.4 kB / 496.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.1114, allocations: 92.92 kB / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1114, allocations: 3.938 kB / 496.3 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1115, allocations: 15.92 kB / 496.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1115, allocations: 4 kB / 496.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1115, allocations: 0 / 496.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1117, allocations: 207.4 kB / 496.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1117, allocations: 0 / 496.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.1119, allocations: 16 kB / 496.6 MB, free: 4.793 MB / 378.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007744/0.1127, allocations: 403 kB / 497 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1129, allocations: 55.97 kB / 497 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1129, allocations: 0 / 497 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.113, allocations: 35.91 kB / 497 MB, free: 4.352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1133, allocations: 20 kB / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.1138, allocations: 319.8 kB / 497.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1141, allocations: 0.7198 MB / 498.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.1141, allocations: 15.42 kB / 498.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1141, allocations: 0 / 498.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of Templates: time 0.003025/0.1172, allocations: 1.622 MB / 499.7 MB, free: 1.605 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches