Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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 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 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 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009298/0.0009299, allocations: 96.67 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 176.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3185/0.3185, allocations: 43.55 MB / 314.5 MB, free: 8.988 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004581, allocations: 12 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 58.86 MB / 442.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002185/0.1219, allocations: 1.516 MB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1234, allocations: 0.8123 MB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1235, allocations: 3.938 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.124, allocations: 243.4 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.1244, allocations: 155.7 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.1248, allocations: 131.7 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1251, allocations: 163.6 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1253, allocations: 25.52 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1255, allocations: 111.6 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1256, allocations: 131.6 kB / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1257, allocations: 4 kB / 446 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1258, allocations: 31.92 kB / 446.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.1259, allocations: 63.73 kB / 446.1 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.126, allocations: 61.58 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1262, allocations: 160 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1262, allocations: 0 / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1262, allocations: 0 / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1262, allocations: 0 / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006688/0.1269, allocations: 0.529 MB / 446.9 MB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1269, allocations: 12.02 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.127, allocations: 31.62 kB / 446.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1273, allocations: 271.1 kB / 447.2 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1274, allocations: 8 kB / 447.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.1274, allocations: 4 kB / 447.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1276, allocations: 99.23 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1276, allocations: 0 / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1277, allocations: 7.953 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1277, allocations: 0 / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1278, allocations: 43.91 kB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.1283, allocations: 452.9 kB / 447.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.1286, allocations: 121.4 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1286, allocations: 4 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.1289, allocations: 113.2 kB / 448 MB, free: 7.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1289, allocations: 0 / 448 MB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008385/0.1297, allocations: 379.6 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.1298, allocations: 81.11 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.1303, allocations: 481.6 kB / 448.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1303, allocations: 33.69 kB / 449 MB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1304, allocations: 160.4 kB / 449.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.1305, allocations: 47.34 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.1305, allocations: 4 kB / 449.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1306, allocations: 346.8 kB / 449.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.1307, allocations: 43.97 kB / 449.6 MB, free: 6.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1309, allocations: 75.3 kB / 449.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.131, allocations: 40 kB / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.131, allocations: 0 / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003003/0.1313, allocations: 189.4 kB / 449.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1313, allocations: 4 kB / 449.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1313, allocations: 0 / 449.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1313, allocations: 4 kB / 449.9 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1315, allocations: 35.92 kB / 449.9 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1315, allocations: 4 kB / 449.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.1316, allocations: 7.984 kB / 449.9 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1316, allocations: 8 kB / 449.9 MB, free: 5.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001584/0.1318, allocations: 181.6 kB / 450.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.1318, allocations: 31.62 kB / 450.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.1319, allocations: 38.81 kB / 450.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1319, allocations: 3.938 kB / 450.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1319, allocations: 0 / 450.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1319, allocations: 7.984 kB / 450.2 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.1326, allocations: 0.628 MB / 450.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1326, allocations: 4 kB / 450.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.1327, allocations: 16 kB / 450.8 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1327, allocations: 4 kB / 450.8 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1327, allocations: 7.984 kB / 450.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1327, allocations: 0.75 kB / 450.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1327, allocations: 0 / 450.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.1331, allocations: 405.2 kB / 451.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.1332, allocations: 112.7 kB / 451.3 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.1333, allocations: 4 kB / 451.3 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1334, allocations: 8 kB / 451.4 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1335, allocations: 15.97 kB / 451.4 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1335, allocations: 12 kB / 451.4 MB, free: 4.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.1338, allocations: 359.1 kB / 451.7 MB, free: 3.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1338, allocations: 4 kB / 451.7 MB, free: 3.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.1342, allocations: 36 kB / 451.8 MB, free: 3.836 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001015/0.1352, allocations: 481.4 kB / 452.2 MB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.1355, allocations: 115.9 kB / 452.4 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1356, allocations: 0 / 452.4 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1357, allocations: 52.39 kB / 452.4 MB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1361, allocations: 61.73 kB / 452.5 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.137, allocations: 0.5645 MB / 453 MB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.1375, allocations: 0.7868 MB / 453.8 MB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1377, allocations: 25.94 kB / 453.8 MB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.1378, allocations: 27.42 kB / 453.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1378, allocations: 0 / 453.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of Templates: time 0.203/0.3408, allocations: 2.513 MB / 456.4 MB, free: 45.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches