Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008716, allocations: 95.19 kB / 17.35 MB, free: 6.371 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.0009175/0.0009176, allocations: 176.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2141/0.2141, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002059/0.1184, allocations: 1.329 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008021/0.1192, allocations: 419.3 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.1193, allocations: 0 / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1196, allocations: 27.89 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1197, allocations: 31.91 kB / 474 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.12, allocations: 102.2 kB / 474.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1202, allocations: 75.77 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1204, allocations: 28.27 kB / 474.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.1204, allocations: 23.91 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.1205, allocations: 23.86 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1205, allocations: 4 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.1206, allocations: 39.98 kB / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.1207, allocations: 23.91 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.1207, allocations: 61.33 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1209, allocations: 107.6 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1209, allocations: 0 / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1209, allocations: 0 / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.121, allocations: 0 / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004932/0.1215, allocations: 379.3 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1215, allocations: 12.03 kB / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.1216, allocations: 12.75 kB / 474.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1218, allocations: 192.2 kB / 475.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1218, allocations: 12.31 kB / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1218, allocations: 8.375 kB / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.122, allocations: 77.78 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1221, allocations: 0 / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1221, allocations: 0 / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1221, allocations: 4 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1222, allocations: 47.97 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.1227, allocations: 348.5 kB / 475.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1229, allocations: 66.55 kB / 475.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.123, allocations: 28.84 kB / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.123, allocations: 0 / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.123, allocations: 30.56 kB / 475.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.123, allocations: 4 kB / 475.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00113/0.1242, allocations: 365.5 kB / 476.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1242, allocations: 55.41 kB / 476.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1244, allocations: 148.2 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1245, allocations: 29.7 kB / 476.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.1245, allocations: 104 kB / 476.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.1246, allocations: 39.36 kB / 476.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.1246, allocations: 17.72 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1248, allocations: 322.8 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1249, allocations: 51.97 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-05/0.125, allocations: 50.97 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1252, allocations: 120.8 kB / 477 MB, free: 8.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1252, allocations: 0 / 477 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002732/0.1255, allocations: 153.5 kB / 477.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1255, allocations: 8 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.1255, allocations: 7.922 kB / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1256, allocations: 0 / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1257, allocations: 35.98 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1257, allocations: 0 / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.1257, allocations: 4 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1258, allocations: 4 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.806e-05/0.1259, allocations: 133.7 kB / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.1259, allocations: 11.81 kB / 477.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.1263, allocations: 193.5 kB / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1263, allocations: 0 / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1263, allocations: 0 / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1263, allocations: 0 / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.127, allocations: 0.5028 MB / 478 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.127, allocations: 0 / 478 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.1271, allocations: 27.98 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1271, allocations: 3.984 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1271, allocations: 16.03 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1271, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1271, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.1275, allocations: 264.1 kB / 478.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1275, allocations: 89 kB / 478.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1275, allocations: 0 / 478.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.1276, allocations: 8 kB / 478.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1277, allocations: 11.98 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1277, allocations: 4 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.476e-05/0.1278, allocations: 119.2 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.1278, allocations: 0 / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1281, allocations: 31.94 kB / 478.6 MB, free: 6.609 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001236/0.1293, allocations: 459.2 kB / 479.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.1296, allocations: 119.9 kB / 479.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1296, allocations: 0 / 479.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1298, allocations: 67.89 kB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.1302, allocations: 23.92 kB / 479.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.1307, allocations: 306.1 kB / 479.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1311, allocations: 0.7083 MB / 480.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.46e-05/0.1312, allocations: 24.41 kB / 480.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.1312, allocations: 23.42 kB / 480.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1312, allocations: 0 / 480.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of Templates: time 0.004197/0.1354, allocations: 1.472 MB / 481.8 MB, free: 3.562 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches