Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 98.11 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.001597/0.001597, allocations: 183.4 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.418/1.418, allocations: 223.2 MB / 241.8 MB, free: 376 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.2453/0.2453, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 15.94 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002368/0.1359, allocations: 1.386 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1373, allocations: 0.7959 MB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.1374, allocations: 0 / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1377, allocations: 35.78 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.1379, allocations: 47.86 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1382, allocations: 87.77 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1384, allocations: 71.78 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1385, allocations: 8.234 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.1386, allocations: 43.83 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.378e-05/0.1386, allocations: 23.86 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1387, allocations: 4 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.1387, allocations: 24 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.1388, allocations: 27.89 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.1389, allocations: 45.64 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.139, allocations: 92.08 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.139, allocations: 0 / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.139, allocations: 3.938 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1391, allocations: 7.938 kB / 474.2 MB, free: 11.02 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.0005713/0.1396, allocations: 422.7 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1397, allocations: 8.031 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1397, allocations: 7.906 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.14, allocations: 210.8 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.14, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1401, allocations: 8 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1402, allocations: 61.62 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1402, allocations: 0 / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1402, allocations: 7.938 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1403, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.1403, allocations: 19.98 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.1407, allocations: 296.9 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1409, allocations: 58.62 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1409, allocations: 0 / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1411, allocations: 71.5 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1411, allocations: 0 / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005235/0.1417, allocations: 181 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1417, allocations: 59.41 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.142, allocations: 262.3 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.142, allocations: 33.69 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.1421, allocations: 112.1 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1421, allocations: 19.72 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.1421, allocations: 4 kB / 476 MB, free: 9.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1423, allocations: 326.8 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.1423, allocations: 23.92 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.1424, allocations: 37.7 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.1425, allocations: 35.88 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1425, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.1427, allocations: 101.5 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1427, allocations: 8 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1427, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1427, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.1428, allocations: 19.94 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1428, allocations: 3.984 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.1429, allocations: 4.031 kB / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1429, allocations: 4 kB / 476.5 MB, free: 8.434 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.0001112/0.143, allocations: 142.2 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.143, allocations: 15.81 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.1431, allocations: 21.39 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1431, allocations: 0 / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1431, allocations: 0 / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1431, allocations: 0 / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.1435, allocations: 407.3 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1435, allocations: 3.984 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.1436, allocations: 8.375 kB / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1436, allocations: 0 / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1436, allocations: 8 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1436, allocations: 0 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1436, allocations: 3.938 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1438, allocations: 222.1 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.1439, allocations: 96.91 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1439, allocations: 4 kB / 477.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.144, allocations: 4 kB / 477.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1441, allocations: 3.984 kB / 477.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1441, allocations: 8 kB / 477.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.1442, allocations: 196.5 kB / 477.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1443, allocations: 7.938 kB / 477.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1445, allocations: 23.95 kB / 477.7 MB, free: 7.172 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.001043/0.1456, allocations: 469.8 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1458, allocations: 55.97 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1458, allocations: 0 / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1459, allocations: 35.92 kB / 478.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1462, allocations: 23.97 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.1467, allocations: 299 kB / 478.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.147, allocations: 0.7199 MB / 479.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.038e-05/0.1471, allocations: 13.2 kB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.1471, allocations: 19.42 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1472, allocations: 0 / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of Templates: time 0.004272/0.1514, allocations: 1.61 MB / 480.9 MB, free: 4.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches