Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008389, allocations: 92.3 kB / 18 MB, free: 5.602 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.0008994/0.0008993, allocations: 180 kB / 18.91 MB, free: 4.734 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.388/1.388, allocations: 223.3 MB / 243 MB, free: 14.28 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.2082/0.2082, allocations: 44.24 MB / 338.3 MB, free: 2.387 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003453, allocations: 12 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 61.92 MB / 472.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002162/0.1248, allocations: 1.41 MB / 474.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1263, allocations: 0.8499 MB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.1264, allocations: 4 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1267, allocations: 23.91 kB / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1269, allocations: 47.83 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1272, allocations: 91.77 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1274, allocations: 91.7 kB / 475.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1275, allocations: 12.22 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.1276, allocations: 39.78 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.1277, allocations: 27.86 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1278, allocations: 0 / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1279, allocations: 43.92 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.128, allocations: 23.91 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.128, allocations: 53.52 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1282, allocations: 84.03 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1282, allocations: 0 / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1282, allocations: 0 / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1283, allocations: 0 / 475.7 MB, free: 10.46 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.0006331/0.1289, allocations: 395.2 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1289, allocations: 8.031 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.129, allocations: 12.84 kB / 476.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1292, allocations: 204.1 kB / 476.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1293, allocations: 4.375 kB / 476.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1293, allocations: 8.125 kB / 476.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1295, allocations: 53.67 kB / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1295, allocations: 3.938 kB / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1295, allocations: 0 / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1295, allocations: 4 kB / 476.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.363e-05/0.1296, allocations: 19.98 kB / 476.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.13, allocations: 288.8 kB / 476.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1302, allocations: 58.62 kB / 476.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.1302, allocations: 20.84 kB / 476.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1303, allocations: 8 kB / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1305, allocations: 79.22 kB / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1305, allocations: 0 / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005334/0.131, allocations: 169.3 kB / 477 MB, free: 8.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1311, allocations: 51.41 kB / 477.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.1312, allocations: 172.5 kB / 477.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1313, allocations: 29.7 kB / 477.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.1313, allocations: 104.1 kB / 477.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1314, allocations: 27.64 kB / 477.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.1314, allocations: 17.72 kB / 477.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1315, allocations: 322.8 kB / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.1316, allocations: 20 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.1317, allocations: 37.7 kB / 477.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1318, allocations: 57.7 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1318, allocations: 0 / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.132, allocations: 109.4 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.132, allocations: 8 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.132, allocations: 0 / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.132, allocations: 0 / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.1321, allocations: 12 kB / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1321, allocations: 7.938 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.1322, allocations: 11.95 kB / 478 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1322, allocations: 4 kB / 478 MB, free: 7.941 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.761e-05/0.1323, allocations: 121.8 kB / 478.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.1323, allocations: 7.906 kB / 478.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.1324, allocations: 16.7 kB / 478.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1324, allocations: 4 kB / 478.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1324, allocations: 0 / 478.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1324, allocations: 4.312 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.1329, allocations: 391.5 kB / 478.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1329, allocations: 4 kB / 478.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.133, allocations: 11.94 kB / 478.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.133, allocations: 4 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.133, allocations: 7.922 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.133, allocations: 0 / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.133, allocations: 240 / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1332, allocations: 212.2 kB / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.1333, allocations: 88.95 kB / 478.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1333, allocations: 11.92 kB / 478.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.1334, allocations: 4 kB / 478.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1335, allocations: 4 kB / 478.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1335, allocations: 7.984 kB / 478.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1336, allocations: 138.8 kB / 479 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1336, allocations: 0 / 479 MB, free: 6.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1339, allocations: 24 kB / 479 MB, free: 6.793 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.001046/0.1349, allocations: 459.5 kB / 479.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1351, allocations: 59.91 kB / 479.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1351, allocations: 0 / 479.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.1352, allocations: 35.92 kB / 479.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1355, allocations: 23.98 kB / 479.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.136, allocations: 267.7 kB / 479.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1363, allocations: 0.7004 MB / 480.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.1363, allocations: 19.42 kB / 480.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1363, allocations: 0 / 480.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of Templates: time 0.003748/0.1401, allocations: 1.872 MB / 482.5 MB, free: 3.5 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches