Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 96.91 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.001052/0.001052, 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.316/1.316, 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.3258/0.3258, allocations: 43.55 MB / 314.5 MB, free: 8.781 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.000476/0.000476, allocations: 16 kB / 383.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002933/0.1224, allocations: 1.38 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1242, allocations: 0.7266 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1244, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.1248, allocations: 31.84 kB / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.1251, allocations: 51.86 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1254, allocations: 83.72 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1256, allocations: 63.84 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1258, allocations: 12.16 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1259, allocations: 39.84 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.126, allocations: 31.84 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1261, allocations: 0 / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1262, allocations: 31.94 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.1263, allocations: 27.89 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.1263, allocations: 37.64 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1266, allocations: 84.11 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1266, allocations: 0 / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1266, allocations: 0 / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1266, allocations: 0 / 445.4 MB, free: 10.44 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.0008583/0.1275, allocations: 418.7 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.1275, allocations: 8.031 kB / 445.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.1276, allocations: 15.81 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.128, allocations: 214.8 kB / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.128, allocations: 0 / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.128, allocations: 3.984 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1282, allocations: 53.67 kB / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1282, allocations: 4 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1282, allocations: 0 / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1282, allocations: 3.953 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.18e-05/0.1283, allocations: 27.92 kB / 446.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.1288, allocations: 288.8 kB / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.129, allocations: 62.67 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.1291, allocations: 0 / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.1293, allocations: 79.41 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1293, allocations: 0 / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006343/0.13, allocations: 173.2 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.13, allocations: 51.41 kB / 446.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1303, allocations: 218.7 kB / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1303, allocations: 29.7 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.1304, allocations: 112 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1304, allocations: 23.66 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.1304, allocations: 0 / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1306, allocations: 330.8 kB / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.1307, allocations: 20 kB / 447.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1307, allocations: 37.64 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.867e-05/0.1308, allocations: 23.98 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1308, allocations: 3.938 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001749/0.131, allocations: 101.5 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.131, allocations: 11.98 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.131, allocations: 0 / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1311, allocations: 0 / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1312, allocations: 23.92 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1312, allocations: 0 / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.1312, allocations: 4 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1313, allocations: 0 / 447.6 MB, free: 7.914 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.0001166/0.1314, allocations: 129.8 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.1314, allocations: 15.81 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.1315, allocations: 25.34 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1315, allocations: 4 kB / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1315, allocations: 0 / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1315, allocations: 0 / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.1319, allocations: 399.3 kB / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1319, allocations: 0 / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.1319, allocations: 11.98 kB / 448.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.132, allocations: 0 / 448.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.132, allocations: 8.031 kB / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.132, allocations: 240 / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.132, allocations: 0 / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1322, allocations: 225.8 kB / 448.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.1323, allocations: 89 kB / 448.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1323, allocations: 8.375 kB / 448.5 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.1324, allocations: 4 kB / 448.5 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.1324, allocations: 11.98 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1325, allocations: 4 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1326, allocations: 168.3 kB / 448.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1326, allocations: 4 kB / 448.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1329, allocations: 27.98 kB / 448.8 MB, free: 6.691 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.0009858/0.1338, allocations: 458.4 kB / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.134, allocations: 59.92 kB / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.134, allocations: 0 / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.57e-05/0.1341, allocations: 31.92 kB / 449.3 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1344, allocations: 36.22 kB / 449.3 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.1348, allocations: 278.3 kB / 449.6 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1351, allocations: 0.7082 MB / 450.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.1352, allocations: 17.17 kB / 450.3 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.1352, allocations: 15.44 kB / 450.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1352, allocations: 3.938 kB / 450.3 MB, free: 5.082 MB / 382.1 MB Notification: Performance of Templates: time 0.00417/0.1394, allocations: 1.595 MB / 451.9 MB, free: 3.488 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches