Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 96.28 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.0009095/0.0009097, allocations: 175.7 kB / 16.57 MB, free: 6.852 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.372/1.372, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3339/0.3339, allocations: 43.55 MB / 314.5 MB, free: 9.012 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.0004698/0.0004699, allocations: 20 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 58.86 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002119/0.1221, allocations: 1.384 MB / 444.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1234, allocations: 0.7305 MB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1235, allocations: 3.938 kB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1238, allocations: 31.84 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.124, allocations: 43.88 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1243, allocations: 75.77 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1244, allocations: 59.86 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.1245, allocations: 12.22 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.1246, allocations: 39.84 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.1247, allocations: 31.84 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1247, allocations: 0 / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.1248, allocations: 27.94 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.1249, allocations: 23.91 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.1249, allocations: 41.62 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1251, allocations: 80.11 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1251, allocations: 0 / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1251, allocations: 0 / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1251, allocations: 0 / 445.3 MB, free: 10.71 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004875/0.1256, allocations: 410.8 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1256, allocations: 12.03 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.1257, allocations: 7.906 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1259, allocations: 207.6 kB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1259, allocations: 0 / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.126, allocations: 4 kB / 446 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1261, allocations: 57.61 kB / 446 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1261, allocations: 3.906 kB / 446 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1262, allocations: 7.969 kB / 446 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1262, allocations: 7.953 kB / 446 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.1262, allocations: 16 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.1266, allocations: 280.9 kB / 446.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1267, allocations: 58.62 kB / 446.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1268, allocations: 0 / 446.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.127, allocations: 75.41 kB / 446.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.127, allocations: 4 kB / 446.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005077/0.1275, allocations: 173.1 kB / 446.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1276, allocations: 55.41 kB / 446.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1277, allocations: 195.3 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1278, allocations: 29.69 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.1278, allocations: 108.1 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1279, allocations: 19.7 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.1279, allocations: 4 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.128, allocations: 322.8 kB / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.1281, allocations: 19.98 kB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.1281, allocations: 33.66 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.445e-05/0.1282, allocations: 23.98 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1282, allocations: 8 kB / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.1284, allocations: 97.5 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1284, allocations: 11.89 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1284, allocations: 0 / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1284, allocations: 7.938 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.1285, allocations: 15.98 kB / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1285, allocations: 0 / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.1286, allocations: 4 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1286, allocations: 4.375 kB / 447.6 MB, free: 8.246 MB / 382.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 9.63e-05/0.1287, allocations: 137.8 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.1287, allocations: 7.906 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.1288, allocations: 25.34 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1288, allocations: 0 / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1288, allocations: 4 kB / 447.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1288, allocations: 0 / 447.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.1292, allocations: 399.2 kB / 448.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1292, allocations: 4.031 kB / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.1292, allocations: 11.94 kB / 448.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1292, allocations: 0 / 448.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1293, allocations: 7.984 kB / 448.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1293, allocations: 0 / 448.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1293, allocations: 0 / 448.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1295, allocations: 218 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.1295, allocations: 89.2 kB / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1296, allocations: 3.984 kB / 448.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.1296, allocations: 7.938 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1297, allocations: 8 kB / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1297, allocations: 7.984 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1299, allocations: 148.9 kB / 448.6 MB, free: 7.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1299, allocations: 0 / 448.6 MB, free: 7.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1301, allocations: 27.84 kB / 448.7 MB, free: 7.047 MB / 382.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.0009605/0.1311, allocations: 465.5 kB / 449.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1312, allocations: 55.97 kB / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1313, allocations: 4.062 kB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.1313, allocations: 27.94 kB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1316, allocations: 27.92 kB / 449.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.132, allocations: 238.5 kB / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1322, allocations: 0.7121 MB / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.555e-05/0.1323, allocations: 25.11 kB / 450.2 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.1323, allocations: 11.44 kB / 450.2 MB, free: 5.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1323, allocations: 4 kB / 450.2 MB, free: 5.465 MB / 382.1 MB Notification: Performance of Templates: time 0.004064/0.1364, allocations: 1.592 MB / 451.8 MB, free: 3.875 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches