Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008895/0.0008896, allocations: 167.2 kB / 16.72 MB, free: 4.965 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.2/1.2, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007442/0.0007442, allocations: 92.81 kB / 271.2 MB, free: 8.238 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.2783/0.2783, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003898, allocations: 8 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09195, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.001694/0.09368, allocations: 1.259 MB / 492.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000491/0.09419, allocations: 303.8 kB / 492.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.09424, allocations: 3.938 kB / 492.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.09441, allocations: 19.92 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.09455, allocations: 31.84 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.09479, allocations: 87.81 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.0949, allocations: 43.84 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.09499, allocations: 15.98 kB / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.09504, allocations: 23.86 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.0951, allocations: 15.92 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.09512, allocations: 4 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.729e-05/0.09519, allocations: 27.98 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.09523, allocations: 7.938 kB / 492.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.09528, allocations: 45.56 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.879e-05/0.09539, allocations: 51.92 kB / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.0954, allocations: 0 / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09541, allocations: 0 / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.09541, allocations: 0 / 492.8 MB, free: 8.711 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.0003874/0.09581, allocations: 395.3 kB / 493.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.09584, allocations: 8.031 kB / 493.1 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.09588, allocations: 8.844 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.09603, allocations: 180.3 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.09605, allocations: 384 / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.09607, allocations: 4.375 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.09619, allocations: 57.61 kB / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.09621, allocations: 0 / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.09622, allocations: 4 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.09623, allocations: 0 / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.09632, allocations: 31.92 kB / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.09667, allocations: 280.9 kB / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.09686, allocations: 46.56 kB / 493.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.09692, allocations: 20.94 kB / 493.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.09694, allocations: 0 / 493.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.09697, allocations: 38.5 kB / 493.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.09697, allocations: 0 / 493.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005166/0.0975, allocations: 161.3 kB / 494 MB, free: 7.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.09754, allocations: 59.33 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.09768, allocations: 153.8 kB / 494.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.0977, allocations: 29.7 kB / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.09775, allocations: 96.03 kB / 494.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.09777, allocations: 11.81 kB / 494.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.09778, allocations: 4 kB / 494.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.09788, allocations: 322.8 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.09796, allocations: 23.98 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.09803, allocations: 31.92 kB / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.09816, allocations: 56.83 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.09817, allocations: 0 / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001851/0.09836, allocations: 101.5 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.09838, allocations: 4 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.09839, allocations: 0 / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.09841, allocations: 4 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.09848, allocations: 16.23 kB / 494.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.09849, allocations: 3.938 kB / 494.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.09854, allocations: 15.94 kB / 494.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.09855, allocations: 0 / 494.9 MB, free: 6.367 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.626e-05/0.09863, allocations: 129.8 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.09867, allocations: 7.906 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.0989, allocations: 110.1 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.09891, allocations: 0 / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.09892, allocations: 0 / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.09893, allocations: 11.92 kB / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.09932, allocations: 354.5 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.09934, allocations: 4 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.09939, allocations: 15.98 kB / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.09941, allocations: 4 kB / 495.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.09942, allocations: 3.938 kB / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.09943, allocations: 0 / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.09943, allocations: 3.938 kB / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.09966, allocations: 187.4 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.09971, allocations: 89.02 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.09973, allocations: 3.938 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.0998, allocations: 11.98 kB / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.09984, allocations: 0 / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.09985, allocations: 192 / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.16e-05/0.09995, allocations: 126.5 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09995, allocations: 4 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.1002, allocations: 15.98 kB / 495.9 MB, free: 5.203 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.0007488/0.1009, allocations: 394.1 kB / 496.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1011, allocations: 63.89 kB / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1012, allocations: 0 / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.1012, allocations: 31.98 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1015, allocations: 19.86 kB / 496.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.1019, allocations: 226.4 kB / 496.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1021, allocations: 0.6965 MB / 497.3 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.1022, allocations: 11.44 kB / 497.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1022, allocations: 0 / 497.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of Templates: time 0.002535/0.1047, allocations: 1.399 MB / 498.8 MB, free: 2.352 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches