Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 107.4 kB / 17.03 MB, free: 6.102 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.001438/0.001438, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.533/1.533, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.221/0.221, allocations: 43.52 MB / 314.7 MB, free: 468 kB / 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.001524/0.001524, allocations: 67.66 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 57.8 MB / 442 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002948/0.1162, allocations: 1.841 MB / 443.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1175, allocations: 0.8935 MB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.1176, allocations: 4 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.1181, allocations: 219.4 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1184, allocations: 175.4 kB / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1187, allocations: 146.5 kB / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.1189, allocations: 219.4 kB / 445.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.119, allocations: 25.55 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1192, allocations: 111.5 kB / 445.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1193, allocations: 147.5 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1193, allocations: 8 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.1194, allocations: 47.98 kB / 445.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.1195, allocations: 51.77 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.1196, allocations: 83.34 kB / 445.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1198, allocations: 211.2 kB / 446.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1198, allocations: 4 kB / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1198, allocations: 3.938 kB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1198, allocations: 0 / 446.1 MB, free: 1.93 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005639/0.1204, allocations: 0.537 MB / 446.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1204, allocations: 11.89 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1205, allocations: 28.66 kB / 446.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1208, allocations: 280 kB / 447 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1208, allocations: 12.3 kB / 447 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1208, allocations: 12.06 kB / 447 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.121, allocations: 99.36 kB / 447.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1211, allocations: 0 / 447.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1211, allocations: 4 kB / 447.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1211, allocations: 4 kB / 447.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1212, allocations: 35.97 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1216, allocations: 444.9 kB / 447.6 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1219, allocations: 121.3 kB / 447.7 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.122, allocations: 41.7 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.122, allocations: 0 / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1222, allocations: 128.8 kB / 447.9 MB, free: 0 / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1222, allocations: 0 / 447.9 MB, free: 0 / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009075/0.1231, allocations: 356.2 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1232, allocations: 89.05 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.1236, allocations: 432.5 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1236, allocations: 29.7 kB / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1237, allocations: 160.2 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.1238, allocations: 55.28 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.1238, allocations: 37.7 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.124, allocations: 338.8 kB / 449.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.1241, allocations: 43.92 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1242, allocations: 76.61 kB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.1244, allocations: 119.5 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1244, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003117/0.1247, allocations: 177.4 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1248, allocations: 12 kB / 449.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1248, allocations: 0 / 449.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1248, allocations: 0 / 449.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.125, allocations: 35.92 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.125, allocations: 3.938 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.1251, allocations: 11.98 kB / 449.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1251, allocations: 8 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001559/0.1252, allocations: 165.7 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.1253, allocations: 31.62 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.1254, allocations: 38.62 kB / 450 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1254, allocations: 4 kB / 450 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1254, allocations: 3.938 kB / 450 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1254, allocations: 0 / 450 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.1261, allocations: 0.6202 MB / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1261, allocations: 64 / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.1262, allocations: 24 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.1262, allocations: 11.92 kB / 450.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1262, allocations: 0 / 450.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1262, allocations: 4 kB / 450.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1262, allocations: 0 / 450.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.1266, allocations: 376.5 kB / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.1267, allocations: 100.8 kB / 451.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.1267, allocations: 8 kB / 451.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1269, allocations: 7.984 kB / 451.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1269, allocations: 11.98 kB / 451.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.127, allocations: 12 kB / 451.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002828/0.1273, allocations: 319 kB / 451.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1273, allocations: 4 kB / 451.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1276, allocations: 44 kB / 451.6 MB, free: 12.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00109/0.1287, allocations: 467.5 kB / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.129, allocations: 119.9 kB / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.129, allocations: 0 / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1292, allocations: 55.92 kB / 452.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.1297, allocations: 62.95 kB / 452.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000871/0.1306, allocations: 0.4906 MB / 452.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.131, allocations: 0.767 MB / 453.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9e-05/0.1311, allocations: 34.56 kB / 453.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.1311, allocations: 31.36 kB / 453.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1312, allocations: 4 kB / 453.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Templates: time 0.006092/0.1373, allocations: 2.715 MB / 456.3 MB, free: 7.406 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches