Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009289/0.0009289, allocations: 97.06 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.001082/0.001083, allocations: 172.8 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.321/1.321, 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.3048/0.3048, allocations: 43.55 MB / 314.5 MB, free: 8.746 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.0004833/0.0004834, allocations: 20 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002817/0.123, allocations: 1.388 MB / 444.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1245, allocations: 0.7306 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1247, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.125, allocations: 23.84 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1253, allocations: 47.81 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1256, allocations: 75.83 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1257, allocations: 55.88 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.1258, allocations: 16.2 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.1259, allocations: 35.84 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.126, allocations: 31.84 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.126, allocations: 0 / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.506e-05/0.1261, allocations: 31.88 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1262, allocations: 15.98 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.1262, allocations: 37.64 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1264, allocations: 88.02 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1264, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1264, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1264, allocations: 0 / 445.3 MB, free: 10.47 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.0005399/0.1269, allocations: 414.7 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.127, allocations: 8.031 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.1271, allocations: 7.906 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1273, allocations: 210.8 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1274, allocations: 0 / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1274, allocations: 4 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1275, allocations: 53.67 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1276, allocations: 0 / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1276, allocations: 0 / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1276, allocations: 7.953 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.1277, allocations: 23.92 kB / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1281, allocations: 277 kB / 446.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1283, allocations: 58.67 kB / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1284, allocations: 0 / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.1286, allocations: 87.31 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1286, allocations: 0 / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005683/0.1292, allocations: 165.3 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1292, allocations: 55.41 kB / 446.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1294, allocations: 186.1 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1294, allocations: 29.7 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.1295, allocations: 104.1 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.1296, allocations: 27.69 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.1296, allocations: 0 / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1297, allocations: 322.8 kB / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.1297, allocations: 23.98 kB / 447.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.1298, allocations: 29.72 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.1299, allocations: 23.98 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1299, allocations: 4 kB / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001793/0.1301, allocations: 101.5 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1301, allocations: 7.953 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1301, allocations: 3.938 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1301, allocations: 0 / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.1302, allocations: 20.17 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1302, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.1303, allocations: 7.938 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1303, allocations: 3.938 kB / 447.5 MB, free: 8.027 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 0.0001317/0.1304, allocations: 137.8 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.1305, allocations: 7.906 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.1305, allocations: 24.64 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1305, allocations: 0 / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1305, allocations: 0 / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1306, allocations: 4 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.131, allocations: 395.2 kB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.131, allocations: 4.031 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.131, allocations: 8 kB / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.131, allocations: 0 / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1311, allocations: 4 kB / 448.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1311, allocations: 0 / 448.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1311, allocations: 3.984 kB / 448.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1313, allocations: 217.9 kB / 448.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1314, allocations: 88.92 kB / 448.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1314, allocations: 4 kB / 448.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.1315, allocations: 7.984 kB / 448.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.1315, allocations: 4 kB / 448.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1315, allocations: 4.375 kB / 448.4 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1317, allocations: 148 kB / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1317, allocations: 0 / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1319, allocations: 24 kB / 448.6 MB, free: 6.855 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.0009834/0.1329, allocations: 473.5 kB / 449.1 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1331, allocations: 59.89 kB / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1331, allocations: 8 kB / 449.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.1332, allocations: 31.92 kB / 449.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1335, allocations: 23.94 kB / 449.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.134, allocations: 238.5 kB / 449.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1343, allocations: 0.7043 MB / 450.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.1343, allocations: 12.88 kB / 450.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.1344, allocations: 15.44 kB / 450.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1344, allocations: 0 / 450.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of Templates: time 0.004174/0.1386, allocations: 1.595 MB / 451.8 MB, free: 3.684 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches