Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008726/0.0008727, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.175/1.175, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0006839/0.000684, allocations: 89.05 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.2789/0.2789, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09944, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.001661/0.1011, allocations: 1.259 MB / 492.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1022, allocations: 0.9026 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.1023, allocations: 0 / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1025, allocations: 19.92 kB / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1026, allocations: 43.89 kB / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.103, allocations: 79.78 kB / 493.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1031, allocations: 55.83 kB / 493.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.1032, allocations: 19.97 kB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.1033, allocations: 11.92 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1034, allocations: 23.86 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1034, allocations: 8 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.1035, allocations: 43.97 kB / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.1035, allocations: 7.938 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.1036, allocations: 45.56 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1037, allocations: 59.89 kB / 493.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1037, allocations: 4 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1037, allocations: 0 / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1037, allocations: 0 / 493.4 MB, free: 8.297 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.0003967/0.1041, allocations: 375.6 kB / 493.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1042, allocations: 12.03 kB / 493.8 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1042, allocations: 4.844 kB / 493.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1044, allocations: 188.2 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1044, allocations: 384 / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1044, allocations: 4.375 kB / 494 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1046, allocations: 75.45 kB / 494 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1046, allocations: 0 / 494 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1046, allocations: 4 kB / 494 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1046, allocations: 0 / 494 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.251e-05/0.1047, allocations: 23.98 kB / 494.1 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1051, allocations: 280.9 kB / 494.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1053, allocations: 50.5 kB / 494.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.1053, allocations: 16.86 kB / 494.4 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1054, allocations: 12.02 kB / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1054, allocations: 30.56 kB / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1054, allocations: 0 / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005152/0.1059, allocations: 161.3 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.106, allocations: 81.11 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1061, allocations: 133.8 kB / 494.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1061, allocations: 25.7 kB / 494.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.1062, allocations: 100.1 kB / 494.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.1062, allocations: 15.75 kB / 495 MB, free: 6.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.1062, allocations: 0 / 495 MB, free: 6.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.1063, allocations: 326.7 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.1064, allocations: 23.98 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.1065, allocations: 37.7 kB / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1066, allocations: 64.77 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1066, allocations: 0 / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001858/0.1068, allocations: 97.59 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1069, allocations: 4 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1069, allocations: 256 / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1069, allocations: 0 / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.107, allocations: 19.98 kB / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.107, allocations: 4 kB / 495.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.107, allocations: 8 kB / 495.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.107, allocations: 0 / 495.5 MB, free: 5.926 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.929e-05/0.1071, allocations: 129.7 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1071, allocations: 11.91 kB / 495.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.1074, allocations: 97.62 kB / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1074, allocations: 4 kB / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1074, allocations: 0 / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1074, allocations: 0 / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.1078, allocations: 366.4 kB / 496.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1078, allocations: 0 / 496.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.1079, allocations: 15.98 kB / 496.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1079, allocations: 0 / 496.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1079, allocations: 4 kB / 496.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1079, allocations: 3.938 kB / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1079, allocations: 0 / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1081, allocations: 187.7 kB / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.1082, allocations: 93 kB / 496.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1082, allocations: 3.984 kB / 496.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1083, allocations: 12.06 kB / 496.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.1083, allocations: 7.984 kB / 496.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1083, allocations: 4 kB / 496.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.1084, allocations: 111.7 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1084, allocations: 0 / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.1086, allocations: 27.98 kB / 496.6 MB, free: 4.762 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.0008224/0.1095, allocations: 430.3 kB / 497 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1097, allocations: 63.97 kB / 497.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1097, allocations: 0 / 497.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.1098, allocations: 31.92 kB / 497.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1101, allocations: 19.92 kB / 497.1 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1104, allocations: 202.3 kB / 497.3 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.1106, allocations: 0.6887 MB / 498 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.1107, allocations: 19.42 kB / 498 MB, free: 3.309 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1107, allocations: 0 / 498 MB, free: 3.309 MB / 378.7 MB Notification: Performance of Templates: time 0.002745/0.1134, allocations: 1.567 MB / 499.6 MB, free: 1.742 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches