Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001396/0.001396, allocations: 194 kB / 18.12 MB, free: 5.363 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.496/1.496, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2323/0.2323, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 72.06 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1335, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003573/0.1372, allocations: 1.756 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1386, allocations: 0.8615 MB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.1388, allocations: 3.938 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.1391, allocations: 31.91 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.1394, allocations: 47.77 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1397, allocations: 95.77 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1398, allocations: 91.69 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.14, allocations: 8.234 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.1401, allocations: 39.8 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.1401, allocations: 31.83 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1402, allocations: 4 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1403, allocations: 39.98 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.1403, allocations: 19.86 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.1404, allocations: 27.8 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1406, allocations: 103.9 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1406, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1406, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1406, allocations: 0 / 471.7 MB, free: 11.67 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005645/0.1412, allocations: 399.1 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1412, allocations: 8.031 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.1413, allocations: 8.844 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1415, allocations: 212.7 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1416, allocations: 7.875 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1416, allocations: 4 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1417, allocations: 57.67 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1418, allocations: 3.906 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1418, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1418, allocations: 4 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.1419, allocations: 19.98 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.1422, allocations: 284.9 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1424, allocations: 62.61 kB / 472.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.1425, allocations: 20.86 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1425, allocations: 0 / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1427, allocations: 71.38 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1427, allocations: 0 / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.1433, allocations: 165.2 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1434, allocations: 63.33 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1436, allocations: 156.9 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1436, allocations: 37.7 kB / 473.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.1437, allocations: 104 kB / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.1437, allocations: 27.64 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1438, allocations: 17.72 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1439, allocations: 322.8 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.216e-05/0.144, allocations: 27.92 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.1441, allocations: 33.66 kB / 473.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1442, allocations: 65.77 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1442, allocations: 0 / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1444, allocations: 101.5 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1444, allocations: 4 kB / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1444, allocations: 3.984 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1445, allocations: 7.938 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.1446, allocations: 12 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1446, allocations: 0 / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.1446, allocations: 12.02 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1447, allocations: 0 / 474 MB, free: 9.156 MB / 350.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 0.0001262/0.1448, allocations: 128.9 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1448, allocations: 7.906 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.1449, allocations: 24.58 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1449, allocations: 4 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1449, allocations: 384 / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1449, allocations: 0 / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.1453, allocations: 391.3 kB / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.1454, allocations: 4 kB / 474.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.1454, allocations: 12 kB / 474.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1454, allocations: 0 / 474.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1454, allocations: 4 kB / 474.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1454, allocations: 3.984 kB / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1454, allocations: 0 / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1457, allocations: 212.1 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1457, allocations: 89.02 kB / 474.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1458, allocations: 0 / 474.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.1458, allocations: 4 kB / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1459, allocations: 3.984 kB / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1459, allocations: 8 kB / 474.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.414e-05/0.146, allocations: 125.9 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.146, allocations: 4 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1463, allocations: 23.98 kB / 475 MB, free: 8.023 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: 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.001011/0.1473, allocations: 463.9 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1475, allocations: 67.84 kB / 475.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1475, allocations: 0 / 475.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.1476, allocations: 31.92 kB / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1479, allocations: 29.8 kB / 475.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.1484, allocations: 220.7 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1486, allocations: 0.6926 MB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.1487, allocations: 12.88 kB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.1487, allocations: 19.44 kB / 476.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1487, allocations: 0 / 476.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of Templates: time 0.004146/0.1529, allocations: 1.632 MB / 478.1 MB, free: 5.008 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches