Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, 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.001112/0.001112, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.676 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.3239/0.3239, allocations: 43.54 MB / 314.5 MB, free: 9.059 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.0004922/0.0004923, allocations: 12 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002136/0.1194, allocations: 1.388 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1207, allocations: 0.7306 MB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1208, allocations: 3.938 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1211, allocations: 35.83 kB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1213, allocations: 39.89 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1216, allocations: 79.77 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1218, allocations: 67.8 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.1219, allocations: 8.219 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.122, allocations: 39.83 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.122, allocations: 23.86 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1221, allocations: 0 / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1222, allocations: 27.94 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.1222, allocations: 27.89 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.1223, allocations: 41.64 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1225, allocations: 84.11 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1225, allocations: 0 / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1225, allocations: 0 / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1225, allocations: 0 / 445.3 MB, free: 10.68 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.0005556/0.123, allocations: 406.8 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1231, allocations: 12.03 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.1231, allocations: 11.89 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.1234, allocations: 199.6 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1234, allocations: 4 kB / 446 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1234, allocations: 8 kB / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1236, allocations: 57.59 kB / 446 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1236, allocations: 3.906 kB / 446 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1236, allocations: 7.984 kB / 446 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1236, allocations: 3.953 kB / 446 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.1237, allocations: 19.98 kB / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1241, allocations: 281 kB / 446.3 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1243, allocations: 58.62 kB / 446.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1243, allocations: 0 / 446.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1245, allocations: 71.45 kB / 446.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1245, allocations: 0 / 446.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.1251, allocations: 181.1 kB / 446.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.1251, allocations: 51.41 kB / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1253, allocations: 191.3 kB / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1254, allocations: 33.69 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.1254, allocations: 100.1 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1254, allocations: 23.7 kB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.1255, allocations: 4 kB / 447 MB, free: 8.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1256, allocations: 322.8 kB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.407e-05/0.1256, allocations: 23.98 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.1257, allocations: 45.58 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.1258, allocations: 20 kB / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1258, allocations: 0 / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.1259, allocations: 97.44 kB / 447.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.126, allocations: 7.953 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.126, allocations: 7.938 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.126, allocations: 4.031 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.1261, allocations: 20.36 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1261, allocations: 0 / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.1262, allocations: 4 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1262, allocations: 8 kB / 447.6 MB, free: 8.215 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.598e-05/0.1263, allocations: 133.8 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.1263, allocations: 11.91 kB / 447.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.1263, allocations: 21.34 kB / 447.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1264, allocations: 0 / 447.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1264, allocations: 4 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1264, allocations: 4 kB / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.1268, allocations: 395.2 kB / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1268, allocations: 0 / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.1268, allocations: 11.94 kB / 448.2 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1268, allocations: 0 / 448.2 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1269, allocations: 7.984 kB / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1269, allocations: 0 / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1269, allocations: 4.031 kB / 448.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1271, allocations: 214 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1271, allocations: 85.02 kB / 448.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1272, allocations: 11.98 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.1272, allocations: 0 / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.1273, allocations: 8 kB / 448.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1273, allocations: 7.984 kB / 448.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1274, allocations: 160.8 kB / 448.6 MB, free: 7.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1274, allocations: 0 / 448.6 MB, free: 7.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1277, allocations: 23.91 kB / 448.7 MB, free: 7.023 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.0009682/0.1287, allocations: 464.5 kB / 449.1 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1288, allocations: 63.91 kB / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1288, allocations: 0 / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.438e-05/0.1289, allocations: 27.98 kB / 449.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.1292, allocations: 27.92 kB / 449.2 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.1296, allocations: 246.5 kB / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1299, allocations: 0.7082 MB / 450.2 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.13, allocations: 20.88 kB / 450.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.13, allocations: 19.44 kB / 450.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.13, allocations: 0 / 450.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of Templates: time 0.004117/0.1342, allocations: 1.587 MB / 451.8 MB, free: 3.848 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches