Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002363/0.002368, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2993/0.2993, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 19.98 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.123, allocations: 58.86 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003243/0.1263, allocations: 1.379 MB / 491.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1281, allocations: 0.7345 MB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.1282, allocations: 3.938 kB / 492.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1285, allocations: 31.78 kB / 492.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.1287, allocations: 35.89 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1291, allocations: 79.78 kB / 492.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1293, allocations: 59.86 kB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.1294, allocations: 12.2 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1295, allocations: 39.84 kB / 492.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.761e-05/0.1296, allocations: 27.86 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1296, allocations: 0 / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1297, allocations: 31.92 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.1298, allocations: 15.92 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.1299, allocations: 37.69 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1301, allocations: 72.12 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1301, allocations: 0 / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1301, allocations: 0 / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1301, allocations: 0 / 492.8 MB, free: 6.75 MB / 330.7 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.0006226/0.1307, allocations: 399 kB / 493.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1308, allocations: 8.031 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.1308, allocations: 15.77 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1311, allocations: 195.5 kB / 493.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1312, allocations: 4 kB / 493.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1312, allocations: 11.89 kB / 493.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1314, allocations: 53.67 kB / 493.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1315, allocations: 0 / 493.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1315, allocations: 0 / 493.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1315, allocations: 4 kB / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1316, allocations: 27.88 kB / 493.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1321, allocations: 277 kB / 493.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1323, allocations: 46.69 kB / 493.8 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1323, allocations: 4 kB / 493.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.1326, allocations: 71.45 kB / 493.9 MB, free: 5.492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1326, allocations: 0 / 493.9 MB, free: 5.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000737/0.1333, allocations: 181.2 kB / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1334, allocations: 51.41 kB / 494.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1336, allocations: 155 kB / 494.3 MB, free: 5.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1337, allocations: 33.7 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.1338, allocations: 166.5 kB / 494.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.1338, allocations: 27.64 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.1338, allocations: 0 / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.134, allocations: 314.8 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.1341, allocations: 19.98 kB / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1342, allocations: 41.64 kB / 494.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.749e-05/0.1343, allocations: 20 kB / 494.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1343, allocations: 4 kB / 494.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002765/0.1346, allocations: 93.61 kB / 495 MB, free: 4.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1347, allocations: 7.938 kB / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1347, allocations: 4 kB / 495 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1347, allocations: 3.953 kB / 495 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.1349, allocations: 12 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1349, allocations: 3.938 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.084e-05/0.135, allocations: 8.359 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.135, allocations: 4 kB / 495 MB, free: 4.305 MB / 330.7 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.0001316/0.1352, allocations: 125.9 kB / 495.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.1352, allocations: 11.91 kB / 495.1 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.668e-05/0.1353, allocations: 16.7 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1353, allocations: 7.953 kB / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1353, allocations: 0 / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1353, allocations: 0 / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.136, allocations: 387.2 kB / 495.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.136, allocations: 4.031 kB / 495.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.1361, allocations: 12 kB / 495.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.363e-06/0.1361, allocations: 3.953 kB / 495.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1361, allocations: 4 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1361, allocations: 3.984 kB / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1361, allocations: 0 / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.1365, allocations: 221.9 kB / 495.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.1366, allocations: 88.97 kB / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1366, allocations: 0 / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1367, allocations: 11.98 kB / 495.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.1368, allocations: 4 kB / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.1368, allocations: 4 kB / 495.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.137, allocations: 124.5 kB / 496 MB, free: 3.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.137, allocations: 0 / 496 MB, free: 3.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.1374, allocations: 27.98 kB / 496 MB, free: 3.148 MB / 330.7 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.001369/0.1387, allocations: 471.8 kB / 496.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.139, allocations: 59.89 kB / 496.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1391, allocations: 4.062 kB / 496.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1392, allocations: 27.94 kB / 496.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1396, allocations: 23.97 kB / 496.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.1402, allocations: 247.8 kB / 496.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1406, allocations: 0.7004 MB / 497.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.1406, allocations: 15.44 kB / 497.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1406, allocations: 0 / 497.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of Templates: time 0.00533/0.146, allocations: 1.843 MB / 499.4 MB, free: 15.77 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches