Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.000808, allocations: 94.55 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.001068/0.001068, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.453/1.453, allocations: 223.3 MB / 242.9 MB, free: 32 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2145/0.2145, allocations: 44.25 MB / 338.3 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 12 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002259/0.1311, allocations: 1.41 MB / 474.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1326, allocations: 0.8421 MB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1327, allocations: 7.938 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.133, allocations: 27.89 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1333, allocations: 47.83 kB / 475.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.1337, allocations: 102.1 kB / 475.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1339, allocations: 83.7 kB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.134, allocations: 16.22 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1341, allocations: 43.78 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.1342, allocations: 23.86 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1343, allocations: 4 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1344, allocations: 43.97 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.1345, allocations: 19.86 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.1345, allocations: 61.44 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1347, allocations: 84.08 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1348, allocations: 0 / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1348, allocations: 0 / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1348, allocations: 0 / 475.7 MB, free: 10.51 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.0005641/0.1353, allocations: 395.2 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1354, allocations: 15.97 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.1355, allocations: 12.84 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1357, allocations: 208 kB / 476.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1357, allocations: 8.312 kB / 476.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1358, allocations: 8.062 kB / 476.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1359, allocations: 53.67 kB / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1359, allocations: 4 kB / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.136, allocations: 0 / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.136, allocations: 4 kB / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.1361, allocations: 19.98 kB / 476.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.1365, allocations: 284.9 kB / 476.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1366, allocations: 62.61 kB / 476.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1367, allocations: 20.86 kB / 476.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1367, allocations: 0 / 476.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1369, allocations: 75.38 kB / 476.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1369, allocations: 0 / 476.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005836/0.1375, allocations: 165.2 kB / 477 MB, free: 9.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1376, allocations: 55.41 kB / 477.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1378, allocations: 182.2 kB / 477.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1378, allocations: 37.7 kB / 477.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.1379, allocations: 100.1 kB / 477.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1379, allocations: 23.66 kB / 477.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1379, allocations: 13.7 kB / 477.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1381, allocations: 330.8 kB / 477.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.1381, allocations: 19.94 kB / 477.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.1382, allocations: 33.7 kB / 477.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1383, allocations: 69.69 kB / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1383, allocations: 0 / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.1385, allocations: 97.44 kB / 478 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1385, allocations: 8 kB / 478 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1386, allocations: 3.984 kB / 478 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1386, allocations: 0 / 478 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.1387, allocations: 16 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1387, allocations: 4.156 kB / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.1387, allocations: 7.969 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1388, allocations: 11.97 kB / 478 MB, free: 7.973 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.962e-05/0.1389, allocations: 126 kB / 478.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1389, allocations: 7.906 kB / 478.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.139, allocations: 24.64 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.139, allocations: 0 / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.139, allocations: 3.938 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.139, allocations: 4.312 kB / 478.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.1394, allocations: 395.3 kB / 478.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1395, allocations: 4 kB / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.1395, allocations: 8 kB / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1395, allocations: 0 / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1395, allocations: 7.922 kB / 478.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1395, allocations: 4 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1395, allocations: 0 / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1398, allocations: 208.2 kB / 478.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.1398, allocations: 85.02 kB / 478.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1399, allocations: 7.922 kB / 478.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.1399, allocations: 8 kB / 478.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.14, allocations: 7.984 kB / 478.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.14, allocations: 7.984 kB / 478.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1401, allocations: 139.2 kB / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1401, allocations: 4 kB / 479.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1404, allocations: 23.98 kB / 479.1 MB, free: 6.809 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.001086/0.1415, allocations: 473.8 kB / 479.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1417, allocations: 55.92 kB / 479.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1417, allocations: 0 / 479.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1418, allocations: 39.91 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.0003409/0.1421, allocations: 27.91 kB / 479.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.1426, allocations: 272.2 kB / 479.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1429, allocations: 0.7043 MB / 480.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1429, allocations: 15.44 kB / 480.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1429, allocations: 0 / 480.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of Templates: time 0.004448/0.1474, allocations: 1.888 MB / 482.5 MB, free: 3.469 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches