Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.4 kB / 16.64 MB, free: 6.375 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.001224/0.001224, allocations: 189.5 kB / 17.56 MB, free: 5.801 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.553/1.553, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.23/0.23, allocations: 43.52 MB / 314.3 MB, free: 0.7031 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.00139/0.00139, allocations: 73.78 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 57.79 MB / 440.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003059/0.1252, allocations: 1.75 MB / 442.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1263, allocations: 0.7929 MB / 443.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.1264, allocations: 0 / 443.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.1268, allocations: 107.7 kB / 443.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.127, allocations: 75.78 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1273, allocations: 74.48 kB / 443.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1274, allocations: 111.7 kB / 443.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1275, allocations: 12.52 kB / 443.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.1276, allocations: 55.77 kB / 443.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.1277, allocations: 63.8 kB / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.1277, allocations: 8 kB / 443.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.1278, allocations: 43.92 kB / 443.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.1279, allocations: 23.92 kB / 443.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.1279, allocations: 39.67 kB / 443.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1281, allocations: 91.83 kB / 443.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1281, allocations: 0 / 443.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1281, allocations: 0 / 443.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1281, allocations: 0 / 443.9 MB, free: 4.066 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.0004612/0.1286, allocations: 438.7 kB / 444.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1286, allocations: 11.89 kB / 444.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.1287, allocations: 20.75 kB / 444.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1289, allocations: 220.7 kB / 444.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1289, allocations: 4.359 kB / 444.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1289, allocations: 8.125 kB / 444.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1291, allocations: 53.67 kB / 444.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1291, allocations: 0 / 444.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1291, allocations: 0 / 444.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1291, allocations: 0 / 444.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.1292, allocations: 19.98 kB / 444.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.1295, allocations: 296.8 kB / 445 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1296, allocations: 58.67 kB / 445 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.1297, allocations: 16.86 kB / 445 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1297, allocations: 7.984 kB / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.1299, allocations: 67.39 kB / 445.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.1299, allocations: 0 / 445.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004846/0.1304, allocations: 181 kB / 445.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1305, allocations: 55.39 kB / 445.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1306, allocations: 238.4 kB / 445.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1306, allocations: 25.7 kB / 445.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.1307, allocations: 112.1 kB / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.1307, allocations: 23.72 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1307, allocations: 21.7 kB / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.1308, allocations: 330.8 kB / 446.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.1309, allocations: 23.92 kB / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.1309, allocations: 37.7 kB / 446.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/0.131, allocations: 57.72 kB / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.131, allocations: 0 / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001463/0.1312, allocations: 113.4 kB / 446.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1312, allocations: 7.938 kB / 446.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1312, allocations: 384 / 446.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1312, allocations: 4 kB / 446.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.1313, allocations: 19.92 kB / 446.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1313, allocations: 0 / 446.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.1314, allocations: 15.94 kB / 446.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1314, allocations: 0 / 446.3 MB, free: 1.387 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.16e-05/0.1315, allocations: 141.8 kB / 446.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.1315, allocations: 11.81 kB / 446.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.1315, allocations: 17.41 kB / 446.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1315, allocations: 3.984 kB / 446.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1315, allocations: 0 / 446.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1316, allocations: 7.938 kB / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.1319, allocations: 395.3 kB / 446.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1319, allocations: 0 / 446.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.1319, allocations: 8 kB / 446.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1319, allocations: 7.984 kB / 446.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.132, allocations: 7.938 kB / 446.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.132, allocations: 0 / 446.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.132, allocations: 0 / 446.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1321, allocations: 208.2 kB / 447.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.1322, allocations: 92.92 kB / 447.2 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1322, allocations: 3.938 kB / 447.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1323, allocations: 3.984 kB / 447.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.1323, allocations: 4 kB / 447.2 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1323, allocations: 4 kB / 447.2 MB, free: 392 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1324, allocations: 188.3 kB / 447.4 MB, free: 204 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 447.4 MB, free: 204 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1327, allocations: 27.98 kB / 447.5 MB, free: 176 kB / 318.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.001078/0.1338, allocations: 477.8 kB / 447.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.134, allocations: 55.97 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.134, allocations: 4.062 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.134, allocations: 31.94 kB / 448 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1344, allocations: 31.91 kB / 448 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.1349, allocations: 329.1 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1353, allocations: 0.708 MB / 449.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.1353, allocations: 19.42 kB / 449.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1353, allocations: 0 / 449.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of Templates: time 0.003805/0.1392, allocations: 2.005 MB / 451.1 MB, free: 12.55 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches