Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 108.1 kB / 17.04 MB, free: 5.809 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.001453/0.001453, allocations: 196 kB / 17.98 MB, free: 5.027 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.61/1.61, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.212/0.212, allocations: 43.51 MB / 314.7 MB, free: 488 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.001406/0.001406, allocations: 71.31 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00348/0.1262, allocations: 1.689 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1276, allocations: 0.7961 MB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.1277, allocations: 0 / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.128, allocations: 43.83 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1283, allocations: 59.69 kB / 444.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1285, allocations: 87.64 kB / 444.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1287, allocations: 95.75 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1288, allocations: 4.234 kB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.1289, allocations: 47.77 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.1289, allocations: 27.86 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.129, allocations: 8 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1291, allocations: 47.91 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.1291, allocations: 19.92 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.1292, allocations: 31.75 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1294, allocations: 111.6 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1294, allocations: 4 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1294, allocations: 0 / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1294, allocations: 0 / 445 MB, free: 3.062 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004912/0.1299, allocations: 403 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.13, allocations: 19.88 kB / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.13, allocations: 12.75 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1304, allocations: 214.1 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1304, allocations: 384 / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1304, allocations: 12.11 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1306, allocations: 53.67 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1306, allocations: 0 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1306, allocations: 0 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1306, allocations: 0 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.1307, allocations: 23.98 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.131, allocations: 284.8 kB / 446 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1312, allocations: 54.69 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.1312, allocations: 20.84 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1313, allocations: 0 / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.1314, allocations: 75.33 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.1314, allocations: 0 / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005228/0.132, allocations: 169.2 kB / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.132, allocations: 55.34 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1321, allocations: 170.1 kB / 446.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1321, allocations: 33.7 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1322, allocations: 100.1 kB / 446.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1322, allocations: 27.64 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1323, allocations: 25.7 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.1324, allocations: 330.7 kB / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.1324, allocations: 20 kB / 447.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.1325, allocations: 33.7 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1326, allocations: 65.64 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1326, allocations: 0 / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001501/0.1328, allocations: 101.6 kB / 447.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1328, allocations: 8 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1328, allocations: 160 / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1328, allocations: 0 / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.1329, allocations: 15.94 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1329, allocations: 8.359 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.133, allocations: 7.922 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.133, allocations: 8.031 kB / 447.3 MB, free: 0.5234 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.836e-05/0.1331, allocations: 125.8 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.1331, allocations: 15.81 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.1331, allocations: 16.7 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1331, allocations: 0 / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1332, allocations: 4 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1332, allocations: 3.938 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.1336, allocations: 387.3 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1336, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.1336, allocations: 12 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1336, allocations: 0 / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1336, allocations: 11.92 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1336, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1336, allocations: 3.938 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1339, allocations: 204.3 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.134, allocations: 85.02 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.134, allocations: 3.938 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.1341, allocations: 7.984 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1341, allocations: 0 / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1341, allocations: 8 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1342, allocations: 131.2 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1342, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1345, allocations: 20 kB / 448.4 MB, free: 15.39 MB / 334.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 (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.00111/0.1356, allocations: 474.2 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1358, allocations: 59.95 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1358, allocations: 4.062 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.1359, allocations: 31.92 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1363, allocations: 23.92 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.1367, allocations: 211.2 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.137, allocations: 0.7079 MB / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.1371, allocations: 24.92 kB / 449.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1371, allocations: 15.44 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1371, allocations: 0 / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Templates: time 0.004479/0.1416, allocations: 1.68 MB / 451.6 MB, free: 12.22 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches