Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009595/0.0009596, 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.15/1.15, 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.0006854/0.0006857, allocations: 93.33 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.2808/0.2808, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 12 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.0997, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.001682/0.1014, allocations: 1.309 MB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005211/0.102, allocations: 307.8 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.102, allocations: 0 / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.1025, allocations: 435.2 kB / 492.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1028, allocations: 255.5 kB / 493.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.103, allocations: 91.88 kB / 493.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1032, allocations: 115.7 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.1033, allocations: 24.16 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.1034, allocations: 103.7 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1036, allocations: 163.7 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1036, allocations: 4 kB / 493.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.1037, allocations: 23.98 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.1038, allocations: 87.73 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.1039, allocations: 112.8 kB / 493.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1041, allocations: 179.8 kB / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1041, allocations: 3.938 kB / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1041, allocations: 0 / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1041, allocations: 0 / 494 MB, free: 7.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005724/0.1047, allocations: 0.5836 MB / 494.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1047, allocations: 8.031 kB / 494.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.1048, allocations: 44.38 kB / 494.6 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.105, allocations: 296.2 kB / 494.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.105, allocations: 384 / 494.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.105, allocations: 8.375 kB / 494.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1052, allocations: 53.56 kB / 495 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1052, allocations: 4 kB / 495 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1052, allocations: 0 / 495 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1052, allocations: 0 / 495 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1053, allocations: 39.95 kB / 495 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.1058, allocations: 384.6 kB / 495.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.106, allocations: 46.5 kB / 495.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.106, allocations: 16.86 kB / 495.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.106, allocations: 4 kB / 495.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1061, allocations: 38.64 kB / 495.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1061, allocations: 0 / 495.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005634/0.1066, allocations: 236 kB / 495.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1067, allocations: 51.41 kB / 495.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007548/0.1075, allocations: 0.8651 MB / 496.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1075, allocations: 25.7 kB / 496.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1076, allocations: 220 kB / 496.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1077, allocations: 15.81 kB / 496.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1077, allocations: 4 kB / 496.9 MB, free: 4.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1078, allocations: 362.8 kB / 497.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.1079, allocations: 23.98 kB / 497.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/0.108, allocations: 19.92 kB / 497.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1081, allocations: 60.78 kB / 497.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1081, allocations: 0 / 497.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002007/0.1083, allocations: 121.4 kB / 497.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1083, allocations: 8 kB / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1083, allocations: 4 kB / 497.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1083, allocations: 0 / 497.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.1084, allocations: 15.98 kB / 497.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1084, allocations: 0 / 497.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.1085, allocations: 15.84 kB / 497.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.1085, allocations: 0 / 497.5 MB, free: 3.707 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 0.0001682/0.1087, allocations: 217.7 kB / 497.7 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.1087, allocations: 43.53 kB / 497.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.109, allocations: 137.1 kB / 497.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.109, allocations: 0 / 497.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.109, allocations: 4 kB / 497.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.109, allocations: 3.938 kB / 497.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.1095, allocations: 462.4 kB / 498.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1096, allocations: 0 / 498.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.1096, allocations: 15.98 kB / 498.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1096, allocations: 0 / 498.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1096, allocations: 3.938 kB / 498.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1096, allocations: 8 kB / 498.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1096, allocations: 0 / 498.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1099, allocations: 215.2 kB / 498.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.11, allocations: 116.5 kB / 498.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.11, allocations: 11.94 kB / 498.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.1101, allocations: 11.92 kB / 498.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1101, allocations: 4 kB / 498.7 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1101, allocations: 0 / 498.7 MB, free: 2.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005502/0.1107, allocations: 0.6511 MB / 499.4 MB, free: 1.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1107, allocations: 0 / 499.4 MB, free: 1.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.1109, allocations: 20 kB / 499.4 MB, free: 1.703 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.0007613/0.1117, allocations: 410.8 kB / 499.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1119, allocations: 51.97 kB / 499.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1119, allocations: 0 / 499.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.112, allocations: 35.92 kB / 499.9 MB, free: 1.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1123, allocations: 26.19 kB / 499.9 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.1133, allocations: 0.8507 MB / 0.489 GB, free: 352 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.156/0.2693, allocations: 0.8125 MB / 0.4898 GB, free: 42.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.2694, allocations: 13.28 kB / 0.4899 GB, free: 42.68 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2694, allocations: 0 / 0.4899 GB, free: 42.68 MB / 378.7 MB Notification: Performance of Templates: time 0.006317/0.2757, allocations: 3.576 MB / 0.4933 GB, free: 42.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches