Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009255/0.0009257, allocations: 175.4 kB / 16.72 MB, free: 5.051 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.224/1.224, 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.0007246/0.0007246, allocations: 92.92 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.2798/0.2798, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09673, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001634/0.09841, allocations: 1.259 MB / 492.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.09893, allocations: 303.7 kB / 492.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.09898, allocations: 0 / 492.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.09922, allocations: 83.81 kB / 492.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.09936, allocations: 55.86 kB / 492.5 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.09956, allocations: 67.86 kB / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.09968, allocations: 55.83 kB / 492.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.09978, allocations: 19.97 kB / 492.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.09983, allocations: 23.91 kB / 492.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.09992, allocations: 43.83 kB / 492.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.09994, allocations: 4 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.1, allocations: 27.98 kB / 492.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.1001, allocations: 15.92 kB / 492.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1001, allocations: 53.5 kB / 492.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1002, allocations: 59.91 kB / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1002, allocations: 0 / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1002, allocations: 0 / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.1002, allocations: 0 / 492.9 MB, free: 8.812 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.0003964/0.1006, allocations: 399 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1007, allocations: 15.97 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1007, allocations: 8.844 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1009, allocations: 208.6 kB / 493.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1009, allocations: 4.375 kB / 493.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1009, allocations: 384 / 493.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1011, allocations: 61.81 kB / 493.6 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1011, allocations: 0 / 493.6 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1011, allocations: 4 kB / 493.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1011, allocations: 0 / 493.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.1012, allocations: 23.98 kB / 493.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.1015, allocations: 288.8 kB / 493.9 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1017, allocations: 42.56 kB / 493.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.1018, allocations: 12.86 kB / 493.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1018, allocations: 4 kB / 493.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1018, allocations: 46.62 kB / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1018, allocations: 0 / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005236/0.1024, allocations: 165.1 kB / 494.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.1024, allocations: 51.41 kB / 494.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1026, allocations: 218.3 kB / 494.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1026, allocations: 29.7 kB / 494.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.1027, allocations: 104.1 kB / 494.5 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.1027, allocations: 27.62 kB / 494.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1027, allocations: 4 kB / 494.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1029, allocations: 326.8 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.103, allocations: 27.92 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.103, allocations: 23.98 kB / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1032, allocations: 48.84 kB / 495 MB, free: 6.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1032, allocations: 0 / 495 MB, free: 6.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001724/0.1033, allocations: 93.56 kB / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1034, allocations: 4 kB / 495.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1034, allocations: 0 / 495.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1034, allocations: 4 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.1035, allocations: 12 kB / 495.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1035, allocations: 7.922 kB / 495.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.1035, allocations: 11.94 kB / 495.1 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1035, allocations: 0 / 495.1 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 9.825e-05/0.1036, allocations: 133.8 kB / 495.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1037, allocations: 7.906 kB / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.1039, allocations: 106.8 kB / 495.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1039, allocations: 4.062 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1039, allocations: 4 kB / 495.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1039, allocations: 0 / 495.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.1043, allocations: 366.4 kB / 495.7 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1044, allocations: 0 / 495.7 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.1044, allocations: 15.98 kB / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1044, allocations: 0 / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1044, allocations: 0 / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.1044, allocations: 3.938 kB / 495.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1045, allocations: 0 / 495.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.1047, allocations: 187.4 kB / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.1047, allocations: 93 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1047, allocations: 0 / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.1048, allocations: 15.94 kB / 496 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1048, allocations: 3.984 kB / 496 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1049, allocations: 4 kB / 496 MB, free: 5.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.105, allocations: 167.2 kB / 496.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.105, allocations: 0 / 496.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000217/0.1052, allocations: 19.98 kB / 496.2 MB, free: 5.141 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.0007646/0.106, allocations: 398.3 kB / 496.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1062, allocations: 55.95 kB / 496.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1062, allocations: 4 kB / 496.7 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.1063, allocations: 27.92 kB / 496.7 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1066, allocations: 15.91 kB / 496.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.107, allocations: 275.2 kB / 497 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1072, allocations: 0.7043 MB / 497.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.1073, allocations: 19.42 kB / 497.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1073, allocations: 0 / 497.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of Templates: time 0.002633/0.1099, allocations: 1.487 MB / 499.2 MB, free: 2.156 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches