Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 95.2 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.0009293/0.0009292, allocations: 181.6 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.434/1.434, 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.2244/0.2244, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 12 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00197/0.1366, allocations: 1.386 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1385, allocations: 1.355 MB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.1386, allocations: 4 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1389, allocations: 31.83 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1391, allocations: 55.81 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1394, allocations: 95.2 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1395, allocations: 59.86 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.1396, allocations: 8.219 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.1397, allocations: 35.84 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1398, allocations: 31.84 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1399, allocations: 0 / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.14, allocations: 43.92 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1401, allocations: 19.91 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1401, allocations: 37.64 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1403, allocations: 84.11 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1403, allocations: 0 / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1403, allocations: 0 / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1403, allocations: 0 / 474.7 MB, free: 10.49 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.0005337/0.1409, allocations: 395 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1409, allocations: 8.031 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.1409, allocations: 11.81 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1412, allocations: 199 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1412, allocations: 7.953 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1413, allocations: 0 / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1414, allocations: 71.33 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1414, allocations: 0 / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1415, allocations: 0 / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1415, allocations: 0 / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.1415, allocations: 19.98 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1419, allocations: 288.8 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1421, allocations: 58.61 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1421, allocations: 4 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.1423, allocations: 67.52 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1424, allocations: 0 / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005073/0.1429, allocations: 173.5 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1429, allocations: 77.11 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1431, allocations: 155.9 kB / 476.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1431, allocations: 25.7 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.1432, allocations: 96.12 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1432, allocations: 19.72 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.1432, allocations: 4 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1433, allocations: 334.7 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.1434, allocations: 19.92 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.1435, allocations: 46.5 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.1435, allocations: 28.06 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1435, allocations: 0 / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.1437, allocations: 97.58 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1437, allocations: 8 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1437, allocations: 8.062 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1438, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.1439, allocations: 19.97 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.1439, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.1439, allocations: 11.94 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1439, allocations: 4 kB / 476.9 MB, free: 8.039 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.0001001/0.144, allocations: 122.3 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1441, allocations: 19.81 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.1441, allocations: 12.7 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1441, allocations: 4 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1441, allocations: 0 / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1441, allocations: 0 / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1446, allocations: 391.3 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1446, allocations: 0 / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.1446, allocations: 11.98 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1446, allocations: 4.031 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1446, allocations: 4 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1446, allocations: 0 / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1446, allocations: 0 / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1449, allocations: 214 kB / 477.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.145, allocations: 93 kB / 477.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.145, allocations: 7.938 kB / 477.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.1451, allocations: 4 kB / 477.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1451, allocations: 15.94 kB / 477.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1451, allocations: 0 / 477.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.1452, allocations: 117.8 kB / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1452, allocations: 4 kB / 477.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1455, allocations: 28 kB / 477.9 MB, free: 6.895 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.001163/0.1467, allocations: 0.4998 MB / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1469, allocations: 59.92 kB / 478.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1469, allocations: 0 / 478.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.147, allocations: 31.98 kB / 478.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.1472, allocations: 23.97 kB / 478.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.1476, allocations: 210.2 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1479, allocations: 0.7014 MB / 479.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.148, allocations: 17.19 kB / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1481, allocations: 27.42 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1481, allocations: 0 / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of Templates: time 0.004765/0.1528, allocations: 1.84 MB / 481.4 MB, free: 3.633 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches