Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 173.9 kB / 16.72 MB, free: 4.938 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.195/1.195, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0006905/0.0006905, allocations: 86.3 kB / 271.2 MB, free: 8.234 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.2954/0.2954, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 19.98 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1002, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001835/0.102, allocations: 1.409 MB / 492.2 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1037, allocations: 1.317 MB / 493.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.1037, allocations: 7.938 kB / 493.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.104, allocations: 27.91 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.1041, allocations: 43.83 kB / 493.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1044, allocations: 79.83 kB / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1045, allocations: 79.7 kB / 493.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.1046, allocations: 12.22 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.1047, allocations: 39.73 kB / 493.8 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1048, allocations: 39.83 kB / 493.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1048, allocations: 0 / 493.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.105, allocations: 55.97 kB / 493.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.105, allocations: 15.92 kB / 494 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.1051, allocations: 53.5 kB / 494 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1052, allocations: 84.09 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1052, allocations: 4 kB / 494.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1052, allocations: 0 / 494.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1052, allocations: 0 / 494.1 MB, free: 7.586 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.0004586/0.1057, allocations: 395.2 kB / 494.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1057, allocations: 16.02 kB / 494.5 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.1058, allocations: 8.844 kB / 494.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.106, allocations: 208 kB / 494.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.106, allocations: 384 / 494.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.106, allocations: 16.05 kB / 494.7 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1062, allocations: 67.39 kB / 494.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1062, allocations: 0 / 494.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1062, allocations: 4 kB / 494.8 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1062, allocations: 0 / 494.8 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.1063, allocations: 19.98 kB / 494.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.1066, allocations: 276.9 kB / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1068, allocations: 58.62 kB / 495.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.1068, allocations: 24.84 kB / 495.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1069, allocations: 4 kB / 495.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.107, allocations: 63.39 kB / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1071, allocations: 0 / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004558/0.1075, allocations: 173.2 kB / 495.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1076, allocations: 81.05 kB / 495.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1077, allocations: 157.8 kB / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1077, allocations: 25.7 kB / 495.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.1078, allocations: 96.05 kB / 495.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1078, allocations: 19.8 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.1078, allocations: 7.938 kB / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.1079, allocations: 326.8 kB / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.108, allocations: 12 kB / 496.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.1081, allocations: 42.56 kB / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1082, allocations: 65.72 kB / 496.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1082, allocations: 0 / 496.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.1084, allocations: 105.4 kB / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1084, allocations: 15.22 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1084, allocations: 0 / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.1084, allocations: 0 / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.1085, allocations: 12 kB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1085, allocations: 7.969 kB / 496.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.1086, allocations: 11.92 kB / 496.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1086, allocations: 4 kB / 496.4 MB, free: 5.066 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 8.673e-05/0.1087, allocations: 129.8 kB / 496.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.1087, allocations: 11.91 kB / 496.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.1087, allocations: 17.08 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1087, allocations: 0 / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1087, allocations: 0 / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1088, allocations: 3.938 kB / 496.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.1092, allocations: 391.3 kB / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1092, allocations: 0 / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.1092, allocations: 11.98 kB / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1092, allocations: 0 / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1092, allocations: 11.94 kB / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1092, allocations: 0 / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1092, allocations: 0 / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.1095, allocations: 204.5 kB / 497.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1095, allocations: 93 kB / 497.2 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1095, allocations: 3.938 kB / 497.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.1096, allocations: 4 kB / 497.2 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1097, allocations: 12.17 kB / 497.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1097, allocations: 0 / 497.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.1098, allocations: 131.7 kB / 497.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1098, allocations: 0 / 497.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.11, allocations: 28 kB / 497.4 MB, free: 3.934 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.0009848/0.111, allocations: 0.4885 MB / 497.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1112, allocations: 51.92 kB / 497.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1112, allocations: 0 / 497.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/0.1113, allocations: 39.86 kB / 498 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1116, allocations: 19.98 kB / 498 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.112, allocations: 235.8 kB / 498.2 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1122, allocations: 0.7004 MB / 498.9 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.1123, allocations: 23.42 kB / 498.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1123, allocations: 0 / 498.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of Templates: time 0.003362/0.1157, allocations: 2.024 MB / 0.4892 GB, free: 356 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches