Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 96.28 kB / 15.69 MB, free: 476 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.0008517/0.0008518, allocations: 174.1 kB / 16.57 MB, free: 6.852 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.35/1.35, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3647/0.3647, allocations: 43.55 MB / 314.5 MB, free: 8.758 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.000461/0.0004609, allocations: 12 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002125/0.1101, allocations: 1.38 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1115, allocations: 0.7383 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1116, allocations: 4 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.1119, allocations: 27.84 kB / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.1122, allocations: 47.88 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1126, allocations: 71.78 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1128, allocations: 63.86 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1129, allocations: 16.19 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.113, allocations: 39.84 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.1131, allocations: 27.86 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1131, allocations: 0 / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1132, allocations: 39.84 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1133, allocations: 15.98 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.1133, allocations: 41.64 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1135, allocations: 92.08 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1135, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1135, allocations: 3.938 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1135, allocations: 0 / 445.4 MB, free: 10.44 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.0006091/0.1142, allocations: 414.8 kB / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1142, allocations: 12.02 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.1143, allocations: 15.81 kB / 445.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1146, allocations: 206.9 kB / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1146, allocations: 0 / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1146, allocations: 7.984 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1148, allocations: 53.67 kB / 446.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1148, allocations: 0 / 446.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1148, allocations: 3.938 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1148, allocations: 3.953 kB / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.1149, allocations: 27.98 kB / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1153, allocations: 292.8 kB / 446.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1155, allocations: 54.61 kB / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1155, allocations: 4 kB / 446.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1157, allocations: 71.47 kB / 446.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1157, allocations: 0 / 446.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005537/0.1163, allocations: 169.2 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1163, allocations: 55.41 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1166, allocations: 218.7 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1166, allocations: 33.64 kB / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.1167, allocations: 108 kB / 447.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1167, allocations: 27.66 kB / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.1167, allocations: 4 kB / 447.1 MB, free: 8.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1168, allocations: 322.8 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.1169, allocations: 23.98 kB / 447.4 MB, free: 8.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.117, allocations: 33.7 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.117, allocations: 27.92 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1171, allocations: 0 / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.1172, allocations: 101.6 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1173, allocations: 11.89 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1173, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1173, allocations: 4 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.1174, allocations: 19.94 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1174, allocations: 0 / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.1175, allocations: 7.984 kB / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1175, allocations: 4 kB / 447.7 MB, free: 7.922 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 0.0001158/0.1176, allocations: 133.9 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1176, allocations: 11.81 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.1177, allocations: 21.36 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1177, allocations: 0 / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1177, allocations: 0 / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1177, allocations: 0 / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.1181, allocations: 399.3 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1181, allocations: 0 / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1182, allocations: 12.03 kB / 448.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1182, allocations: 4 kB / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1182, allocations: 0 / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1182, allocations: 0 / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1182, allocations: 8.297 kB / 448.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1185, allocations: 221.9 kB / 448.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.1185, allocations: 93.02 kB / 448.5 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1185, allocations: 4 kB / 448.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.1186, allocations: 7.984 kB / 448.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1187, allocations: 4 kB / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1187, allocations: 4 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1188, allocations: 176.5 kB / 448.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1188, allocations: 0 / 448.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1191, allocations: 27.94 kB / 448.8 MB, free: 6.707 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.0009816/0.1201, allocations: 468.3 kB / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1203, allocations: 51.98 kB / 449.3 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1203, allocations: 0 / 449.3 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.1204, allocations: 35.97 kB / 449.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1206, allocations: 32.06 kB / 449.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.1211, allocations: 274.3 kB / 449.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1214, allocations: 0.716 MB / 450.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.1214, allocations: 12.89 kB / 450.3 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.1215, allocations: 19.42 kB / 450.3 MB, free: 5.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1215, allocations: 0 / 450.3 MB, free: 5.09 MB / 382.1 MB Notification: Performance of Templates: time 0.004475/0.126, allocations: 1.591 MB / 451.9 MB, free: 3.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches