Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001374/0.001374, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001491/0.001491, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2141/0.2141, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 70.45 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002966/0.115, allocations: 1.703 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1164, allocations: 0.8808 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.1164, allocations: 8 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.1167, allocations: 43.7 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1169, allocations: 55.75 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1172, allocations: 115.4 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1174, allocations: 99.69 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.1175, allocations: 12.22 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.424e-05/0.1176, allocations: 39.8 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.1177, allocations: 31.84 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1177, allocations: 3.938 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.1178, allocations: 43.98 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.1178, allocations: 19.92 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.1179, allocations: 39.72 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1181, allocations: 127.6 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1181, allocations: 0 / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1181, allocations: 4 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1181, allocations: 0 / 473.9 MB, free: 10.42 MB / 350.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.0005031/0.1186, allocations: 422.9 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1187, allocations: 8.031 kB / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.1187, allocations: 20.73 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.119, allocations: 208 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.119, allocations: 8.375 kB / 474.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.119, allocations: 8.125 kB / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1191, allocations: 57.67 kB / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1192, allocations: 0 / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1192, allocations: 0 / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1192, allocations: 0 / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.1193, allocations: 23.92 kB / 474.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1196, allocations: 300.7 kB / 475 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1198, allocations: 58.69 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.1198, allocations: 20.84 kB / 475 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1199, allocations: 0 / 475 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.12, allocations: 67.33 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.12, allocations: 0 / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005152/0.1206, allocations: 173.2 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1206, allocations: 59.41 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1208, allocations: 222.7 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1208, allocations: 29.7 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.1209, allocations: 108 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1209, allocations: 23.66 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.121, allocations: 25.72 kB / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1211, allocations: 330.8 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.1212, allocations: 24 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.1213, allocations: 37.64 kB / 476.1 MB, free: 8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1214, allocations: 61.62 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1214, allocations: 0 / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001799/0.1216, allocations: 97.59 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1216, allocations: 4 kB / 476.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1216, allocations: 7.984 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1216, allocations: 4.031 kB / 476.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.1217, allocations: 15.94 kB / 476.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1217, allocations: 0 / 476.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.1218, allocations: 7.938 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.1218, allocations: 4.375 kB / 476.3 MB, free: 7.789 MB / 350.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 9.022e-05/0.1219, allocations: 134.8 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1219, allocations: 11.81 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.122, allocations: 21.39 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.122, allocations: 4 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.122, allocations: 4 kB / 476.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.122, allocations: 3.938 kB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.1224, allocations: 395.3 kB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1224, allocations: 4 kB / 476.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.1225, allocations: 12 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1225, allocations: 0 / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1225, allocations: 7.875 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1225, allocations: 0 / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1225, allocations: 8.031 kB / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.1227, allocations: 204.4 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.1228, allocations: 89 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1228, allocations: 3.938 kB / 477.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.1229, allocations: 4 kB / 477.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.1229, allocations: 7.969 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1229, allocations: 12 kB / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1231, allocations: 171.2 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1231, allocations: 0 / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1233, allocations: 23.98 kB / 477.4 MB, free: 6.586 MB / 350.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.001008/0.1243, allocations: 467.1 kB / 477.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1245, allocations: 47.98 kB / 477.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1245, allocations: 8 kB / 477.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.1246, allocations: 27.92 kB / 477.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.125, allocations: 35.56 kB / 478 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.1254, allocations: 266.9 kB / 478.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1257, allocations: 0.7041 MB / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.1257, allocations: 21.17 kB / 479 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.1258, allocations: 23.36 kB / 479 MB, free: 5.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1258, allocations: 0 / 479 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Templates: time 0.004105/0.1299, allocations: 1.706 MB / 480.7 MB, free: 3.438 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches