Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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 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 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 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.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009279, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 174.8 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3094/0.3094, allocations: 43.54 MB / 314.5 MB, free: 8.789 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004588, allocations: 12 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001814/0.1095, allocations: 1.388 MB / 444.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1106, allocations: 0.7344 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.1107, allocations: 4 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.1109, allocations: 31.84 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.1111, allocations: 47.88 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1113, allocations: 71.78 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1114, allocations: 71.84 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.667e-05/0.1115, allocations: 12.2 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.1116, allocations: 43.84 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.1117, allocations: 23.86 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1117, allocations: 0 / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.1118, allocations: 35.86 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.1118, allocations: 27.91 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.1119, allocations: 41.64 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.112, allocations: 96.08 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.112, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.112, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.112, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 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.0004665/0.1125, allocations: 434.6 kB / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1125, allocations: 8.031 kB / 445.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1126, allocations: 15.81 kB / 445.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1128, allocations: 202.9 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1128, allocations: 0 / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.1128, allocations: 7.938 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.113, allocations: 57.66 kB / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.113, allocations: 7.906 kB / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.113, allocations: 8 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1131, allocations: 3.953 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.1131, allocations: 19.98 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1135, allocations: 284.9 kB / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1136, allocations: 62.61 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1137, allocations: 4 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.1138, allocations: 67.47 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1138, allocations: 0 / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004944/0.1143, allocations: 181 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1144, allocations: 55.41 kB / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1146, allocations: 258.5 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1146, allocations: 25.7 kB / 447 MB, free: 8.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.1147, allocations: 120 kB / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1147, allocations: 23.73 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1147, allocations: 3.938 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1149, allocations: 326.8 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.1149, allocations: 23.98 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.115, allocations: 37.64 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.115, allocations: 20 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1151, allocations: 4 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.1152, allocations: 109.4 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1152, allocations: 7.953 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1153, allocations: 4 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1153, allocations: 0 / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.1154, allocations: 19.98 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1154, allocations: 160 / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.1154, allocations: 4 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1154, allocations: 7.984 kB / 447.7 MB, free: 7.832 MB / 382.1 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 9.758e-05/0.1155, allocations: 145.8 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.1156, allocations: 15.8 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.1156, allocations: 21.36 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1156, allocations: 0 / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1156, allocations: 4 kB / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.1156, allocations: 0 / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.116, allocations: 415.2 kB / 448.3 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1161, allocations: 0 / 448.3 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.1161, allocations: 11.94 kB / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1161, allocations: 0 / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1161, allocations: 4.359 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1161, allocations: 4 kB / 448.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1161, allocations: 4 kB / 448.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1164, allocations: 214 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1164, allocations: 92.92 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1164, allocations: 7.984 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.1165, allocations: 0 / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1166, allocations: 7.938 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1166, allocations: 7.984 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1167, allocations: 200 kB / 448.9 MB, free: 6.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1167, allocations: 0 / 448.9 MB, free: 6.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000241/0.117, allocations: 28 kB / 448.9 MB, free: 6.562 MB / 382.1 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.0009192/0.1179, allocations: 465 kB / 449.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.1181, allocations: 59.92 kB / 449.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1181, allocations: 0 / 449.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.502e-05/0.1182, allocations: 27.98 kB / 449.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.1184, allocations: 23.94 kB / 449.5 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.1188, allocations: 307 kB / 449.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.1191, allocations: 0.7199 MB / 450.5 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.1192, allocations: 25.17 kB / 450.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.1192, allocations: 15.44 kB / 450.5 MB, free: 4.918 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1192, allocations: 0 / 450.5 MB, free: 4.918 MB / 382.1 MB Notification: Performance of Templates: time 0.004133/0.1234, allocations: 1.614 MB / 452.1 MB, free: 3.305 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches