Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.002111/0.002111, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.46/1.46, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2061/0.2061, allocations: 43.52 MB / 314.7 MB, free: 480 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.002294/0.002294, allocations: 74.59 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1194, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00282/0.1222, allocations: 1.692 MB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1234, allocations: 0.8039 MB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.1235, allocations: 0 / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1238, allocations: 43.77 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.124, allocations: 55.75 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1242, allocations: 79.78 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1244, allocations: 99.67 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.1245, allocations: 12.23 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.1245, allocations: 39.8 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.1246, allocations: 35.83 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1246, allocations: 7.938 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.1247, allocations: 43.98 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.1248, allocations: 11.94 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.1248, allocations: 39.72 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.125, allocations: 107.6 kB / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.125, allocations: 0 / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.125, allocations: 0 / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.125, allocations: 4 kB / 445 MB, free: 3.043 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.0004116/0.1254, allocations: 418.9 kB / 445.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1255, allocations: 15.88 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.1255, allocations: 8.844 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1258, allocations: 201 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1258, allocations: 4.375 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1258, allocations: 12.11 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1259, allocations: 53.67 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.126, allocations: 0 / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.126, allocations: 0 / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.126, allocations: 8 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.1261, allocations: 19.92 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.1263, allocations: 284.8 kB / 446 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1265, allocations: 54.69 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.1265, allocations: 28.78 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1266, allocations: 4 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.1267, allocations: 67.33 kB / 446.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1267, allocations: 0 / 446.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004961/0.1272, allocations: 177.1 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1273, allocations: 55.41 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1274, allocations: 194 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1274, allocations: 29.7 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.1274, allocations: 96.14 kB / 446.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1275, allocations: 23.7 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.1275, allocations: 25.72 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.1276, allocations: 326.8 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.1276, allocations: 23.98 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.1277, allocations: 33.7 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1278, allocations: 61.64 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1278, allocations: 4 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000153/0.128, allocations: 101.6 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.128, allocations: 5.25 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.128, allocations: 4 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.128, allocations: 0 / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.1281, allocations: 20.3 kB / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1281, allocations: 0 / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.1282, allocations: 15.97 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1282, allocations: 4 kB / 447.4 MB, free: 488 kB / 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 8.843e-05/0.1283, allocations: 133.8 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.1283, allocations: 11.81 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.1284, allocations: 12.72 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1284, allocations: 7.984 kB / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1284, allocations: 0 / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1284, allocations: 3.938 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.1288, allocations: 391.3 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1288, allocations: 0 / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.1289, allocations: 8 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1289, allocations: 4 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1289, allocations: 7.875 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1289, allocations: 3.938 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1289, allocations: 4 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1291, allocations: 204.3 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.1292, allocations: 85.02 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1292, allocations: 7.938 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1293, allocations: 4 kB / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1293, allocations: 7.984 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1294, allocations: 4.188 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1295, allocations: 139.2 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1295, allocations: 7.938 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1298, allocations: 23.91 kB / 448.4 MB, free: 15.31 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.001032/0.1308, allocations: 471 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.131, allocations: 59.97 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.131, allocations: 3.938 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.1311, allocations: 31.92 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1315, allocations: 20.3 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.1319, allocations: 223.3 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1322, allocations: 0.7081 MB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.1323, allocations: 12.89 kB / 449.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1323, allocations: 23.36 kB / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1323, allocations: 0 / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Templates: time 0.004375/0.1367, allocations: 1.682 MB / 451.6 MB, free: 12.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches