Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 183 kB / 16.63 MB, free: 5.137 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.349/1.349, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009392/0.0009392, allocations: 109.5 kB / 269.9 MB, free: 8.434 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.3199/0.3199, allocations: 43.5 MB / 360.7 MB, free: 51.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000989/0.0009891, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1021, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.003355/0.1055, allocations: 1.61 MB / 488.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006672/0.1062, allocations: 335.5 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.1063, allocations: 0 / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.1065, allocations: 15.91 kB / 489 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1067, allocations: 31.92 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.107, allocations: 75.83 kB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1072, allocations: 51.91 kB / 489.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.1073, allocations: 23.97 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.1073, allocations: 19.86 kB / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.1074, allocations: 19.86 kB / 489.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1074, allocations: 4 kB / 489.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.1075, allocations: 27.98 kB / 489.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1075, allocations: 11.94 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1076, allocations: 19.86 kB / 489.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1077, allocations: 72.02 kB / 489.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1078, allocations: 0 / 489.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1078, allocations: 0 / 489.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.1078, allocations: 4 kB / 489.3 MB, free: 10.21 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.0004872/0.1083, allocations: 379.2 kB / 489.7 MB, free: 9.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1083, allocations: 12.03 kB / 489.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1084, allocations: 4.844 kB / 489.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1086, allocations: 192.2 kB / 489.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1086, allocations: 4.375 kB / 489.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1086, allocations: 384 / 489.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1088, allocations: 49.81 kB / 489.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1088, allocations: 4 kB / 489.9 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1088, allocations: 4 kB / 490 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1088, allocations: 0 / 490 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.004e-05/0.1089, allocations: 27.97 kB / 490 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1093, allocations: 280.8 kB / 490.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1095, allocations: 46.56 kB / 490.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.1096, allocations: 16.94 kB / 490.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1096, allocations: 7.984 kB / 490.3 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1096, allocations: 30.56 kB / 490.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1096, allocations: 0 / 490.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005268/0.1101, allocations: 157.4 kB / 490.5 MB, free: 8.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1102, allocations: 51.41 kB / 490.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1103, allocations: 141.9 kB / 490.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1103, allocations: 25.7 kB / 490.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.1104, allocations: 96.12 kB / 490.8 MB, free: 8.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1104, allocations: 19.66 kB / 490.8 MB, free: 8.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.1105, allocations: 17.72 kB / 490.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1106, allocations: 322.8 kB / 491.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.1107, allocations: 27.92 kB / 491.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.1107, allocations: 19.98 kB / 491.2 MB, free: 8.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1109, allocations: 52.83 kB / 491.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1109, allocations: 3.938 kB / 491.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/0.1111, allocations: 77.66 kB / 491.3 MB, free: 7.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1111, allocations: 4 kB / 491.3 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1111, allocations: 4.047 kB / 491.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1111, allocations: 7.984 kB / 491.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.1112, allocations: 15.92 kB / 491.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1112, allocations: 0 / 491.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.1112, allocations: 8.25 kB / 491.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1113, allocations: 4 kB / 491.4 MB, free: 7.918 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.199e-05/0.1114, allocations: 125.8 kB / 491.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1114, allocations: 3.906 kB / 491.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.1116, allocations: 97.97 kB / 491.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1116, allocations: 0 / 491.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1116, allocations: 0 / 491.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1116, allocations: 0 / 491.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.1121, allocations: 358.3 kB / 492 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1121, allocations: 0 / 492 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.1121, allocations: 19.98 kB / 492 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1122, allocations: 0 / 492 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1122, allocations: 0 / 492 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1122, allocations: 3.938 kB / 492 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1122, allocations: 0 / 492 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.1127, allocations: 0.7551 MB / 492.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.1128, allocations: 89.02 kB / 492.8 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1128, allocations: 0 / 492.8 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.1129, allocations: 11.92 kB / 492.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1129, allocations: 0 / 492.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1129, allocations: 4.188 kB / 492.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.407e-05/0.113, allocations: 111.2 kB / 492.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.113, allocations: 3.938 kB / 493 MB, free: 6.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.1134, allocations: 16 kB / 493 MB, free: 6.184 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008247/0.1142, allocations: 411.5 kB / 493.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1144, allocations: 51.97 kB / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1144, allocations: 0 / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.1145, allocations: 31.91 kB / 493.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1148, allocations: 16.55 kB / 493.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.1152, allocations: 313.9 kB / 493.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1155, allocations: 0.6926 MB / 494.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.989e-05/0.1156, allocations: 28.16 kB / 494.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.1156, allocations: 11.44 kB / 494.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1156, allocations: 0 / 494.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of Templates: time 0.003112/0.1187, allocations: 1.059 MB / 495.6 MB, free: 3.566 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches