Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009438/0.000944, allocations: 175.2 kB / 16.72 MB, free: 5.082 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.189/1.189, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007012/0.0007012, allocations: 76.25 kB / 271.2 MB, free: 8.262 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.2764/0.2764, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 15.94 kB / 432 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09411, allocations: 58.86 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.001578/0.09573, allocations: 1.259 MB / 492.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004918/0.09623, allocations: 311.8 kB / 492.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.09628, allocations: 0 / 492.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.09646, allocations: 15.92 kB / 492.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.0966, allocations: 27.86 kB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.09683, allocations: 79.89 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.09694, allocations: 55.83 kB / 492.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.09704, allocations: 15.98 kB / 492.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.09708, allocations: 19.86 kB / 492.6 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.09714, allocations: 15.94 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.09716, allocations: 0 / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.09723, allocations: 23.98 kB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.09727, allocations: 19.91 kB / 492.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.09732, allocations: 41.58 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.765e-05/0.09742, allocations: 51.92 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.09744, allocations: 4 kB / 492.8 MB, free: 8.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09744, allocations: 0 / 492.8 MB, free: 8.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.09745, allocations: 4 kB / 492.8 MB, free: 8.715 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.0003894/0.09785, allocations: 383.3 kB / 493.1 MB, free: 8.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.09788, allocations: 8.031 kB / 493.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.09792, allocations: 8.844 kB / 493.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.09808, allocations: 188.2 kB / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.0981, allocations: 4.375 kB / 493.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.09812, allocations: 4.375 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.09824, allocations: 53.81 kB / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.09826, allocations: 0 / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.09827, allocations: 0 / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.09828, allocations: 4 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.09838, allocations: 27.92 kB / 493.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.09873, allocations: 284.9 kB / 493.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.09891, allocations: 42.56 kB / 493.7 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.09898, allocations: 24.92 kB / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.09901, allocations: 8 kB / 493.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.09903, allocations: 34.5 kB / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.09904, allocations: 0 / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005402/0.09958, allocations: 169.3 kB / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.09962, allocations: 55.34 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.09976, allocations: 157.2 kB / 494.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.09978, allocations: 25.7 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.09983, allocations: 100 kB / 494.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.09986, allocations: 7.812 kB / 494.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.09987, allocations: 4 kB / 494.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.09997, allocations: 326.8 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.1001, allocations: 23.98 kB / 494.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.1001, allocations: 23.98 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1003, allocations: 60.83 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1003, allocations: 0 / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001865/0.1005, allocations: 93.56 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1005, allocations: 8 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1005, allocations: 3.938 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1005, allocations: 4 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.1006, allocations: 16.23 kB / 494.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1006, allocations: 3.938 kB / 494.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.1006, allocations: 8 kB / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1006, allocations: 7.938 kB / 494.9 MB, free: 6.371 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 7.823e-05/0.1007, allocations: 121.8 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1008, allocations: 7.906 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.101, allocations: 105.9 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.101, allocations: 4 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.101, allocations: 3.938 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.101, allocations: 3.984 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.1014, allocations: 358.5 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1014, allocations: 0 / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.1015, allocations: 15.98 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1015, allocations: 0 / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1015, allocations: 4 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1015, allocations: 3.938 kB / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1015, allocations: 4 kB / 495.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1017, allocations: 191.4 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.1018, allocations: 81.02 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1018, allocations: 11.98 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1019, allocations: 11.94 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.1019, allocations: 0 / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1019, allocations: 8.172 kB / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.102, allocations: 115.3 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.102, allocations: 0 / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.1023, allocations: 19.98 kB / 495.9 MB, free: 5.215 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.0007799/0.103, allocations: 395.2 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1033, allocations: 67.89 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1033, allocations: 0 / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.1034, allocations: 27.98 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1037, allocations: 23.92 kB / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.104, allocations: 218.4 kB / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1043, allocations: 0.6965 MB / 497.3 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.1043, allocations: 11.44 kB / 497.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1043, allocations: 4 kB / 497.4 MB, free: 3.758 MB / 378.7 MB Notification: Performance of Templates: time 0.002608/0.1069, allocations: 1.407 MB / 498.8 MB, free: 2.352 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches