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.001386/0.001386, allocations: 94.69 kB / 16.99 MB, free: 5.941 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.001622/0.001622, allocations: 180.3 kB / 17.87 MB, free: 5.609 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.432/1.432, allocations: 223.2 MB / 241.8 MB, free: 368 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.2242/0.2242, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004014, allocations: 16 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.00227/0.1374, allocations: 1.386 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1388, allocations: 0.7842 MB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.1389, allocations: 0 / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1392, allocations: 39.77 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1394, allocations: 39.89 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1397, allocations: 95.7 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1399, allocations: 59.86 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.14, allocations: 8.219 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.378e-05/0.1401, allocations: 35.84 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.1402, allocations: 27.86 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1402, allocations: 0 / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.1403, allocations: 27.98 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.1403, allocations: 15.86 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.1404, allocations: 41.64 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1406, allocations: 88.09 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1406, allocations: 3.938 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1406, allocations: 0 / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1406, allocations: 0 / 474.1 MB, free: 11.07 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.0005983/0.1412, allocations: 391 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1413, allocations: 8.031 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1413, allocations: 11.89 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1416, allocations: 198.9 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1416, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1416, allocations: 12 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1418, allocations: 57.56 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1418, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.1419, allocations: 7.984 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1419, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.142, allocations: 19.98 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.1425, allocations: 288.8 kB / 475.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.1427, allocations: 58.61 kB / 475.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1428, allocations: 3.984 kB / 475.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.1429, allocations: 63.52 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.143, allocations: 0 / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000661/0.1436, allocations: 173.3 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1437, allocations: 51.41 kB / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1439, allocations: 176.4 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1439, allocations: 29.69 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.144, allocations: 100 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.144, allocations: 27.72 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.144, allocations: 0 / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1442, allocations: 322.8 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/0.1442, allocations: 24 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-05/0.1443, allocations: 37.64 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.821e-05/0.1443, allocations: 27.94 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1444, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.1445, allocations: 101.4 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1446, allocations: 4 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1446, allocations: 4.188 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1446, allocations: 4.031 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.1447, allocations: 19.92 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1447, allocations: 0 / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.1448, allocations: 4 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1448, allocations: 4 kB / 476.3 MB, free: 8.664 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 (10): * Single equations (assignments): 10 * 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.0001006/0.1449, allocations: 130.3 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.1449, allocations: 7.906 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.145, allocations: 12.88 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.145, allocations: 4 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.145, allocations: 4 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.145, allocations: 3.984 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.1455, allocations: 395.3 kB / 476.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1455, allocations: 384 / 476.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1455, allocations: 11.94 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1455, allocations: 0 / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1455, allocations: 8 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1455, allocations: 4.031 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1455, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.1458, allocations: 213.9 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.1458, allocations: 89 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1459, allocations: 4 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1459, allocations: 4 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.146, allocations: 11.98 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.146, allocations: 3.938 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1461, allocations: 142.7 kB / 477.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 477.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1464, allocations: 27.94 kB / 477.3 MB, free: 7.496 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 (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.00105/0.1474, allocations: 469.6 kB / 477.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1477, allocations: 59.91 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1477, allocations: 0 / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.1477, allocations: 27.98 kB / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.148, allocations: 27.97 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1485, allocations: 229.9 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1489, allocations: 0.7122 MB / 478.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.149, allocations: 17.17 kB / 478.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.149, allocations: 15.44 kB / 478.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.149, allocations: 0 / 478.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of Templates: time 0.004386/0.1534, allocations: 1.577 MB / 480.5 MB, free: 4.512 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches