Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 95.61 kB / 16.98 MB, free: 5.938 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.0009163/0.0009165, allocations: 185.8 kB / 17.87 MB, free: 5.594 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.379/1.379, allocations: 223.2 MB / 241.8 MB, free: 392 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.2143/0.2143, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 11.98 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 61.91 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002263/0.1331, allocations: 1.406 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1345, allocations: 0.7997 MB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1346, allocations: 0 / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.135, allocations: 83.81 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.1352, allocations: 71.77 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.1355, allocations: 99.64 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1357, allocations: 71.84 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.1358, allocations: 11.98 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1359, allocations: 43.83 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.136, allocations: 51.83 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.136, allocations: 4 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1361, allocations: 35.98 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.1362, allocations: 23.91 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.1362, allocations: 41.62 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1364, allocations: 104 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1364, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1364, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1364, allocations: 0 / 474.3 MB, free: 10.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005908/0.137, allocations: 418.8 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1371, allocations: 8.562 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.1371, allocations: 15.81 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1374, allocations: 210.8 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1374, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1374, allocations: 8 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1376, allocations: 61.62 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1376, allocations: 3.938 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1376, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1376, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.1377, allocations: 27.92 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.1381, allocations: 308.7 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1384, allocations: 58.56 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1384, allocations: 0 / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.1386, allocations: 79.44 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1386, allocations: 0 / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007362/0.1394, allocations: 237.1 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.1394, allocations: 59.34 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.1396, allocations: 214.7 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1397, allocations: 33.7 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1397, allocations: 108.1 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.1398, allocations: 43.55 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.1398, allocations: 0 / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1399, allocations: 330.8 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.14, allocations: 23.98 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.1401, allocations: 48.83 kB / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.1402, allocations: 35.92 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1402, allocations: 3.938 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002151/0.1404, allocations: 125.5 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1404, allocations: 4 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1404, allocations: 3.984 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1405, allocations: 4 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.1405, allocations: 19.94 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1406, allocations: 0 / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.1406, allocations: 11.98 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1406, allocations: 4 kB / 476.7 MB, free: 8.203 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.1407, allocations: 133.8 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.1408, allocations: 19.8 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.1408, allocations: 13.41 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1408, allocations: 7.984 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1408, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1409, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.1414, allocations: 463.9 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1414, allocations: 8 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.1414, allocations: 15.98 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1414, allocations: 0 / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1414, allocations: 7.938 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1415, allocations: 0 / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1415, allocations: 0 / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1417, allocations: 248.6 kB / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.1418, allocations: 92.91 kB / 477.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.1418, allocations: 12.05 kB / 477.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.1419, allocations: 7.938 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.142, allocations: 11.92 kB / 477.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.142, allocations: 8 kB / 477.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1422, allocations: 172.3 kB / 477.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1422, allocations: 0 / 477.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1424, allocations: 32 kB / 478 MB, free: 6.852 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.1436, allocations: 0.5139 MB / 478.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1438, allocations: 75.91 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1438, allocations: 0 / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.1439, allocations: 47.98 kB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1442, allocations: 24.11 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.1447, allocations: 307.8 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.145, allocations: 0.7121 MB / 479.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.145, allocations: 20.64 kB / 479.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.1451, allocations: 19.42 kB / 479.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1451, allocations: 0 / 479.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of Templates: time 0.004533/0.1496, allocations: 1.827 MB / 481.5 MB, free: 3.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches