Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.0009861, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0009002/0.0009003, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.526/1.526, allocations: 223.2 MB / 242.3 MB, free: 240 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.2147/0.2147, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 12 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002433/0.1329, allocations: 1.413 MB / 473.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1346, allocations: 0.846 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1348, allocations: 3.938 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.1352, allocations: 31.89 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.1355, allocations: 43.84 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.136, allocations: 91.77 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.1363, allocations: 87.7 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1365, allocations: 12.23 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1366, allocations: 47.77 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1367, allocations: 19.86 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1367, allocations: 4 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1369, allocations: 43.97 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.137, allocations: 19.86 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.027e-05/0.1371, allocations: 49.52 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1374, allocations: 103.9 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1374, allocations: 0 / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1374, allocations: 0 / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1374, allocations: 0 / 475.1 MB, free: 10.53 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.000796/0.1382, allocations: 393.5 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.1383, allocations: 8.031 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.1384, allocations: 8.844 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.1387, allocations: 212.6 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1388, allocations: 3.938 kB / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.1388, allocations: 4 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.139, allocations: 53.67 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.139, allocations: 3.984 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.139, allocations: 4 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.139, allocations: 0 / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.1391, allocations: 19.98 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.1397, allocations: 276.9 kB / 476 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1399, allocations: 58.61 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.14, allocations: 32.78 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.14, allocations: 0 / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.1402, allocations: 67.39 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.1402, allocations: 3.938 kB / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005945/0.1408, allocations: 173.1 kB / 476.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1409, allocations: 59.34 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1412, allocations: 165.4 kB / 476.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1412, allocations: 25.7 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.1413, allocations: 96.14 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1413, allocations: 27.64 kB / 476.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.1413, allocations: 17.66 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1415, allocations: 326.8 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.1415, allocations: 15.98 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.1416, allocations: 41.7 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1418, allocations: 57.7 kB / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1418, allocations: 0 / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002091/0.142, allocations: 101.5 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.142, allocations: 6.5 kB / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.142, allocations: 0 / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.1421, allocations: 3.938 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1422, allocations: 19.98 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1422, allocations: 7.969 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.1423, allocations: 8 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1423, allocations: 0 / 477.3 MB, free: 8.043 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 0.0001273/0.1424, allocations: 120.5 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1424, allocations: 7.906 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.1425, allocations: 20.64 kB / 477.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1425, allocations: 3.984 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.1425, allocations: 4.375 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1425, allocations: 0 / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.1431, allocations: 407.3 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1431, allocations: 0 / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.1432, allocations: 8 kB / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1432, allocations: 0 / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1432, allocations: 3.984 kB / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1432, allocations: 4 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1432, allocations: 3.938 kB / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.1435, allocations: 208.2 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.1436, allocations: 85.02 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.1436, allocations: 8.172 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.1437, allocations: 4 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.1438, allocations: 3.938 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.1438, allocations: 7.984 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.144, allocations: 129.3 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.144, allocations: 0 / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1443, allocations: 24 kB / 478.4 MB, free: 6.906 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.001371/0.1456, allocations: 461.1 kB / 478.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1459, allocations: 63.83 kB / 478.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1459, allocations: 0 / 478.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.146, allocations: 35.92 kB / 478.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1464, allocations: 19.98 kB / 478.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.147, allocations: 230 kB / 479.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1474, allocations: 0.6926 MB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.1475, allocations: 21.17 kB / 479.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.1476, allocations: 19.44 kB / 479.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1476, allocations: 0 / 479.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of Templates: time 0.005382/0.153, allocations: 1.617 MB / 481.5 MB, free: 3.895 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches