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.001506/0.001506, allocations: 108.5 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001482, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.613/1.613, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2212/0.2212, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 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.001951/0.001951, allocations: 67.91 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1207, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003217/0.124, allocations: 1.832 MB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1254, allocations: 0.8935 MB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1255, allocations: 4 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.126, allocations: 255.4 kB / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.1264, allocations: 187.4 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1268, allocations: 151.2 kB / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.1271, allocations: 243.4 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1272, allocations: 21.55 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1274, allocations: 131.5 kB / 445.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.1276, allocations: 175.5 kB / 445.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1276, allocations: 8 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1278, allocations: 43.92 kB / 445.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.1278, allocations: 59.77 kB / 445.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.1279, allocations: 83.34 kB / 446 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.1282, allocations: 231.1 kB / 446.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1282, allocations: 3.938 kB / 446.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1282, allocations: 4 kB / 446.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1282, allocations: 0 / 446.3 MB, free: 1.809 MB / 318.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.0006575/0.1289, allocations: 0.5486 MB / 446.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1289, allocations: 15.89 kB / 446.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.129, allocations: 32.56 kB / 446.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1294, allocations: 284 kB / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1294, allocations: 12.31 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1294, allocations: 12.12 kB / 447.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1296, allocations: 99.34 kB / 447.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1297, allocations: 0 / 447.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1297, allocations: 0 / 447.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1297, allocations: 3.938 kB / 447.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1298, allocations: 43.97 kB / 447.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1303, allocations: 456.8 kB / 447.8 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1305, allocations: 117.3 kB / 447.9 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1306, allocations: 41.75 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1307, allocations: 4 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1309, allocations: 117 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.1309, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009166/0.1318, allocations: 372.3 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1319, allocations: 81.05 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.1324, allocations: 485.6 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1324, allocations: 25.7 kB / 449 MB, free: 14.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1325, allocations: 168.2 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.1326, allocations: 55.36 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.1326, allocations: 29.72 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1328, allocations: 350.8 kB / 449.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1329, allocations: 43.94 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.133, allocations: 72.61 kB / 449.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.1332, allocations: 119.7 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1332, allocations: 4 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003158/0.1336, allocations: 189.1 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1336, allocations: 9.25 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1336, allocations: 0 / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1336, allocations: 0 / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1338, allocations: 43.91 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1338, allocations: 3.938 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.1339, allocations: 4 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1339, allocations: 12 kB / 450 MB, free: 13.74 MB / 334.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.1341, allocations: 169.8 kB / 450.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.1341, allocations: 31.62 kB / 450.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.1342, allocations: 42.8 kB / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1342, allocations: 0 / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.1342, allocations: 7.938 kB / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1342, allocations: 0 / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.135, allocations: 0.6281 MB / 450.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.135, allocations: 0 / 450.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.1351, allocations: 23.98 kB / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1351, allocations: 0 / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1351, allocations: 4 kB / 450.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1351, allocations: 4 kB / 451 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1351, allocations: 0 / 451 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.1355, allocations: 376 kB / 451.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.1356, allocations: 108.6 kB / 451.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1356, allocations: 11.98 kB / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1358, allocations: 7.938 kB / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.1358, allocations: 11.98 kB / 451.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.1359, allocations: 15.98 kB / 451.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003285/0.1362, allocations: 359.1 kB / 451.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 0 / 451.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.1366, allocations: 39.98 kB / 451.9 MB, free: 11.81 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/0.1378, allocations: 467.2 kB / 452.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.1381, allocations: 119.9 kB / 452.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1381, allocations: 0 / 452.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1383, allocations: 59.91 kB / 452.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.1389, allocations: 59.38 kB / 452.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.1398, allocations: 0.5265 MB / 453.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.1403, allocations: 0.7788 MB / 453.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1404, allocations: 30.56 kB / 453.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.1405, allocations: 23.42 kB / 453.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1405, allocations: 0 / 453.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of Templates: time 0.007111/0.1476, allocations: 2.748 MB / 456.7 MB, free: 7.055 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches