Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 95.11 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 180.9 kB / 18.91 MB, free: 4.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 243 MB, free: 14.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1864/0.1864, allocations: 44.25 MB / 338.3 MB, free: 2.379 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 8 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1011, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001933/0.103, allocations: 1.282 MB / 474.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1045, allocations: 0.9805 MB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.1046, allocations: 4 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1048, allocations: 19.91 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.105, allocations: 31.92 kB / 475.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1052, allocations: 75.84 kB / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1054, allocations: 51.78 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.811e-05/0.1055, allocations: 16 kB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.1055, allocations: 19.91 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1056, allocations: 23.86 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1057, allocations: 0 / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1058, allocations: 55.91 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1058, allocations: 7.922 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.1059, allocations: 41.58 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.106, allocations: 67.89 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1061, allocations: 3.938 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1061, allocations: 0 / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1061, allocations: 0 / 475.6 MB, free: 10.59 MB / 350.1 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.0004493/0.1065, allocations: 379.5 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1066, allocations: 12.03 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1066, allocations: 4.938 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.1068, allocations: 187.6 kB / 476.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1068, allocations: 4.375 kB / 476.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1068, allocations: 4.359 kB / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.107, allocations: 75.47 kB / 476.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.107, allocations: 0 / 476.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.107, allocations: 0 / 476.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1071, allocations: 0 / 476.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.1072, allocations: 27.97 kB / 476.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.1075, allocations: 268.8 kB / 476.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1077, allocations: 50.5 kB / 476.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1078, allocations: 20.94 kB / 476.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1078, allocations: 0 / 476.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1078, allocations: 34.56 kB / 476.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1078, allocations: 4 kB / 476.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005529/0.1084, allocations: 145.4 kB / 476.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1085, allocations: 81.11 kB / 476.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1086, allocations: 137.8 kB / 477 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1086, allocations: 25.7 kB / 477 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1087, allocations: 96.12 kB / 477.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1087, allocations: 15.66 kB / 477.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.1087, allocations: 17.72 kB / 477.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1088, allocations: 318.8 kB / 477.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.1089, allocations: 27.98 kB / 477.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.109, allocations: 37.64 kB / 477.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1092, allocations: 52.83 kB / 477.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1092, allocations: 4.031 kB / 477.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1094, allocations: 81.67 kB / 477.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1094, allocations: 4 kB / 477.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1094, allocations: 3.938 kB / 477.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1094, allocations: 0 / 477.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.1095, allocations: 19.98 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1095, allocations: 0 / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1096, allocations: 12.25 kB / 477.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1096, allocations: 4 kB / 477.7 MB, free: 8.238 MB / 350.1 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 0.0001344/0.1097, allocations: 126.2 kB / 477.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.1098, allocations: 7.906 kB / 477.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.1101, allocations: 101.5 kB / 477.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1101, allocations: 4 kB / 477.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1101, allocations: 0 / 477.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1101, allocations: 0 / 477.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.1105, allocations: 358.4 kB / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1105, allocations: 0 / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.1106, allocations: 15.98 kB / 478.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1106, allocations: 0 / 478.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1106, allocations: 0 / 478.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1106, allocations: 7.938 kB / 478.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1106, allocations: 0 / 478.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1109, allocations: 183.5 kB / 478.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.1109, allocations: 85.02 kB / 478.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1109, allocations: 4 kB / 478.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.743e-05/0.111, allocations: 15.92 kB / 478.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1111, allocations: 4 kB / 478.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.1111, allocations: 4.281 kB / 478.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8e-05/0.1112, allocations: 103.2 kB / 478.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1112, allocations: 0 / 478.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1114, allocations: 24 kB / 478.7 MB, free: 7.109 MB / 350.1 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.001025/0.1125, allocations: 452.4 kB / 479.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1127, allocations: 51.97 kB / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1127, allocations: 0 / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.1128, allocations: 35.92 kB / 479.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1131, allocations: 15.98 kB / 479.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.1135, allocations: 198.5 kB / 479.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1138, allocations: 0.6887 MB / 480.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.1139, allocations: 15.44 kB / 480.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1139, allocations: 0 / 480.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Templates: time 0.003547/0.1174, allocations: 1.536 MB / 481.7 MB, free: 4.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches