Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.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_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 97.59 kB / 16.93 MB, free: 5.805 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.001266/0.001266, allocations: 187.6 kB / 17.86 MB, free: 5.18 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.47/1.47, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.231/0.231, allocations: 43.52 MB / 314.6 MB, free: 0.5391 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.001795/0.001795, allocations: 72.5 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1106, allocations: 57.79 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002931/0.1136, allocations: 1.702 MB / 442.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1152, allocations: 1.391 MB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.1153, allocations: 4 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1156, allocations: 39.77 kB / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1158, allocations: 55.77 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.116, allocations: 95.69 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1162, allocations: 91.69 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1163, allocations: 16.5 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.1164, allocations: 39.8 kB / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1165, allocations: 35.84 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1165, allocations: 4 kB / 444.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1167, allocations: 63.97 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.1167, allocations: 23.91 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.1168, allocations: 31.81 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.117, allocations: 123.6 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.117, allocations: 0 / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.117, allocations: 3.938 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.117, allocations: 4 kB / 444.9 MB, free: 3.18 MB / 318.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.0004651/0.1175, allocations: 395 kB / 445.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1175, allocations: 15.89 kB / 445.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1176, allocations: 12.83 kB / 445.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1178, allocations: 197.5 kB / 445.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1178, allocations: 384 / 445.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1178, allocations: 8.125 kB / 445.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.118, allocations: 79.31 kB / 445.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.118, allocations: 3.906 kB / 445.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.118, allocations: 0 / 445.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.118, allocations: 3.984 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.117e-05/0.1181, allocations: 19.98 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.1184, allocations: 292.8 kB / 445.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1186, allocations: 50.62 kB / 446 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.1187, allocations: 28.78 kB / 446 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1187, allocations: 0 / 446 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.1189, allocations: 75.33 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1189, allocations: 0 / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004902/0.1194, allocations: 169.3 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.1194, allocations: 81.11 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.1195, allocations: 156.9 kB / 446.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1195, allocations: 33.7 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.1196, allocations: 92.14 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1196, allocations: 27.64 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.1197, allocations: 21.72 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.1197, allocations: 326.8 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.1198, allocations: 23.98 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.1198, allocations: 42.5 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/0.1199, allocations: 61.73 kB / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1199, allocations: 0 / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001485/0.1201, allocations: 101.5 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1201, allocations: 4 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1201, allocations: 4 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1201, allocations: 0 / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.1202, allocations: 15.98 kB / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1202, allocations: 0 / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.1203, allocations: 11.84 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1203, allocations: 12.03 kB / 447.2 MB, free: 0.6133 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.1204, allocations: 121.7 kB / 447.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.1204, allocations: 11.89 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.1204, allocations: 12.72 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1204, allocations: 4 kB / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1204, allocations: 0 / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1204, allocations: 3.938 kB / 447.4 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.1208, allocations: 395.3 kB / 447.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1208, allocations: 0 / 447.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.1208, allocations: 8.047 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1208, allocations: 0 / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1209, allocations: 3.938 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1209, allocations: 4 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1209, allocations: 192 / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1211, allocations: 204.2 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.1212, allocations: 92.88 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1212, allocations: 8.312 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.1213, allocations: 4 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.1213, allocations: 7.984 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1213, allocations: 8 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.1214, allocations: 115.2 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1215, allocations: 0 / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1217, allocations: 32 kB / 448.2 MB, free: 15.48 MB / 334.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 (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.00111/0.1228, allocations: 0.5061 MB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.123, allocations: 59.92 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1231, allocations: 3.938 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.1231, allocations: 31.92 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1235, allocations: 23.98 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.1239, allocations: 224.7 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1242, allocations: 0.7002 MB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.1242, allocations: 15.44 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1242, allocations: 0 / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Templates: time 0.003914/0.1282, allocations: 2.038 MB / 451.8 MB, free: 11.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches