Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000907/0.0009112, allocations: 174.6 kB / 16.72 MB, free: 5.082 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.216/1.216, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007091/0.000709, allocations: 90.34 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.3265/0.3265, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 12 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001785/0.1088, allocations: 1.39 MB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1099, allocations: 0.75 MB / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.11, allocations: 0 / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.1103, allocations: 55.8 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1105, allocations: 47.83 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.1107, allocations: 75.84 kB / 493.2 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1109, allocations: 87.69 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.111, allocations: 20.2 kB / 493.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.1111, allocations: 35.86 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.1112, allocations: 35.78 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1112, allocations: 7.922 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.358e-05/0.1113, allocations: 28 kB / 493.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.1113, allocations: 27.91 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.1114, allocations: 61.45 kB / 493.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1115, allocations: 96.08 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1116, allocations: 0 / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1116, allocations: 4 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1116, allocations: 0 / 493.5 MB, free: 7.914 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005076/0.1121, allocations: 418.8 kB / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1121, allocations: 12.03 kB / 494 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1122, allocations: 16.75 kB / 494 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1124, allocations: 219.7 kB / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1125, allocations: 4.312 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1125, allocations: 8.109 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1126, allocations: 61.67 kB / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1126, allocations: 0 / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1127, allocations: 0 / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1127, allocations: 0 / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.92e-05/0.1128, allocations: 27.92 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.1131, allocations: 288.9 kB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1133, allocations: 62.67 kB / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.1133, allocations: 16.86 kB / 494.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1134, allocations: 3.938 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1135, allocations: 71.33 kB / 494.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1135, allocations: 0 / 494.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004964/0.114, allocations: 184.9 kB / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1141, allocations: 59.41 kB / 495 MB, free: 6.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1143, allocations: 255.7 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1144, allocations: 25.7 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.1144, allocations: 112.1 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.1145, allocations: 23.7 kB / 495.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1145, allocations: 0 / 495.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1146, allocations: 334.8 kB / 495.7 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.1146, allocations: 19.98 kB / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.1147, allocations: 41.7 kB / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1148, allocations: 57.64 kB / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1148, allocations: 0 / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.115, allocations: 109.4 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.115, allocations: 4 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.115, allocations: 0 / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1151, allocations: 0 / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.1151, allocations: 24.02 kB / 496 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1152, allocations: 0 / 496 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.1152, allocations: 3.938 kB / 496 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1152, allocations: 4 kB / 496 MB, free: 5.262 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001017/0.1153, allocations: 141.6 kB / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.1154, allocations: 15.81 kB / 496.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.1154, allocations: 25.77 kB / 496.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1154, allocations: 3.938 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1154, allocations: 4 kB / 496.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.1154, allocations: 3.938 kB / 496.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1158, allocations: 403.4 kB / 496.5 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1159, allocations: 0 / 496.5 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.1159, allocations: 11.94 kB / 496.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1159, allocations: 0 / 496.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1159, allocations: 7.938 kB / 496.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1159, allocations: 80 / 496.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1159, allocations: 12 kB / 496.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1161, allocations: 204.2 kB / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.1162, allocations: 97.11 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1162, allocations: 3.938 kB / 496.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.1163, allocations: 11.92 kB / 496.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1163, allocations: 3.938 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1164, allocations: 12 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1165, allocations: 203 kB / 497.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1165, allocations: 0 / 497.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.1168, allocations: 24 kB / 497.1 MB, free: 3.996 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008914/0.1177, allocations: 461.8 kB / 497.6 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1178, allocations: 55.91 kB / 497.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1179, allocations: 0 / 497.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.426e-05/0.1179, allocations: 31.98 kB / 497.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1182, allocations: 23.27 kB / 497.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.1187, allocations: 332.7 kB / 498 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.119, allocations: 0.72 MB / 498.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.119, allocations: 19.42 kB / 498.7 MB, free: 2.355 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.119, allocations: 0 / 498.7 MB, free: 2.355 MB / 378.7 MB Notification: Performance of Templates: time 0.003352/0.1224, allocations: 2.02 MB / 0.489 GB, free: 344 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches