Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.203/1.203, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007319/0.0007319, allocations: 86.36 kB / 271.2 MB, free: 8.242 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.2759/0.2759, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09498, allocations: 58.84 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.001579/0.09659, allocations: 1.259 MB / 492.1 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004852/0.09709, allocations: 307.8 kB / 492.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.09715, allocations: 3.938 kB / 492.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.0974, allocations: 107.8 kB / 492.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.09755, allocations: 67.84 kB / 492.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.09778, allocations: 79.84 kB / 492.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.0979, allocations: 67.8 kB / 492.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.09799, allocations: 15.98 kB / 492.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.09804, allocations: 39.83 kB / 492.8 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.09814, allocations: 43.89 kB / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.09816, allocations: 3.938 kB / 492.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.09823, allocations: 27.98 kB / 492.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.09827, allocations: 27.91 kB / 492.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.09832, allocations: 45.52 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.09843, allocations: 67.89 kB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.09844, allocations: 4 kB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09845, allocations: 0 / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.09845, allocations: 0 / 493 MB, free: 8.734 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.0003879/0.09885, allocations: 411.2 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.09888, allocations: 12.03 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.09892, allocations: 12.75 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.09908, allocations: 196.1 kB / 493.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.09909, allocations: 384 / 493.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.09912, allocations: 8.375 kB / 493.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.09925, allocations: 57.8 kB / 493.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.09926, allocations: 0 / 493.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.09928, allocations: 0 / 493.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.09928, allocations: 0 / 493.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.09938, allocations: 31.92 kB / 493.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.09971, allocations: 296.8 kB / 494 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.09989, allocations: 46.55 kB / 494 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.09995, allocations: 16.86 kB / 494 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.09998, allocations: 7.984 kB / 494 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1, allocations: 38.5 kB / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1, allocations: 0 / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004979/0.1005, allocations: 169.3 kB / 494.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1006, allocations: 55.34 kB / 494.3 MB, free: 7.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1008, allocations: 242.7 kB / 494.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1008, allocations: 25.7 kB / 494.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.1008, allocations: 108 kB / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1009, allocations: 19.73 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.1009, allocations: 0 / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.101, allocations: 330.8 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.101, allocations: 23.98 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.988e-05/0.1011, allocations: 23.98 kB / 495.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1013, allocations: 64.83 kB / 495.1 MB, free: 6.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1013, allocations: 0 / 495.1 MB, free: 6.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001839/0.1015, allocations: 97.5 kB / 495.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1015, allocations: 7.438 kB / 495.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1015, allocations: 4 kB / 495.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1015, allocations: 3.938 kB / 495.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.1016, allocations: 23.92 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1016, allocations: 0 / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.1016, allocations: 4 kB / 495.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.1016, allocations: 0 / 495.3 MB, free: 6.227 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 8.794e-05/0.1017, allocations: 137.8 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1018, allocations: 12.06 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.102, allocations: 118.6 kB / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.102, allocations: 0 / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.102, allocations: 4 kB / 495.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.102, allocations: 0 / 495.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.1024, allocations: 374.5 kB / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1024, allocations: 288 / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.1025, allocations: 12 kB / 495.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1025, allocations: 0 / 495.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1025, allocations: 4 kB / 495.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.1025, allocations: 3.938 kB / 495.9 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1025, allocations: 0 / 495.9 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1027, allocations: 203.2 kB / 496.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1028, allocations: 93 kB / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1028, allocations: 0 / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.1029, allocations: 11.94 kB / 496.2 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.1029, allocations: 7.984 kB / 496.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1029, allocations: 0 / 496.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1031, allocations: 188.3 kB / 496.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1031, allocations: 0 / 496.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.1033, allocations: 12 kB / 496.4 MB, free: 4.953 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.0007279/0.104, allocations: 406 kB / 496.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1042, allocations: 59.91 kB / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1042, allocations: 0 / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.1043, allocations: 31.97 kB / 496.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1046, allocations: 19.92 kB / 496.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.105, allocations: 303.2 kB / 497.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1052, allocations: 0.7082 MB / 497.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.1053, allocations: 15.44 kB / 497.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1053, allocations: 0 / 497.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of Templates: time 0.002536/0.1078, allocations: 1.571 MB / 499.5 MB, free: 1.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches