Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 100.7 kB / 16.99 MB, free: 6.398 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.001694/0.001694, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.436/1.436, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2253/0.2253, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1402, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.001806/0.1421, allocations: 1.275 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000686/0.1428, allocations: 375.6 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.1429, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.1432, allocations: 71.77 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1433, allocations: 47.88 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1436, allocations: 94.62 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1438, allocations: 43.95 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1439, allocations: 20.16 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.144, allocations: 27.86 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-05/0.1441, allocations: 31.89 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1441, allocations: 4 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.429e-05/0.1442, allocations: 31.88 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.1442, allocations: 11.98 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.1442, allocations: 41.64 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1444, allocations: 71.88 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1444, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1444, allocations: 4 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1444, allocations: 0 / 473.6 MB, free: 11.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004452/0.1448, allocations: 383.3 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1449, allocations: 12.56 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1449, allocations: 7.906 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1451, allocations: 194.8 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1452, allocations: 8 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1452, allocations: 4 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1453, allocations: 61.62 kB / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1454, allocations: 0 / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1454, allocations: 3.984 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1454, allocations: 7.938 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.1455, allocations: 23.98 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.1459, allocations: 304.7 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.146, allocations: 50.55 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.146, allocations: 0 / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1461, allocations: 38.56 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1461, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009023/0.147, allocations: 269.2 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.147, allocations: 51.41 kB / 475 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1472, allocations: 200.5 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1473, allocations: 25.7 kB / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1473, allocations: 96.14 kB / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1474, allocations: 35.61 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.1474, allocations: 0 / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1475, allocations: 326.8 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.1476, allocations: 31.98 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.1477, allocations: 39.97 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/0.1478, allocations: 31.98 kB / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1478, allocations: 0 / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002213/0.148, allocations: 121.6 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.148, allocations: 4 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.148, allocations: 3.938 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1481, allocations: 0 / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1482, allocations: 19.98 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1482, allocations: 0 / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.1482, allocations: 11.98 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1482, allocations: 3.938 kB / 475.9 MB, free: 9.062 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.916e-05/0.1483, allocations: 133.8 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1484, allocations: 11.89 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.1487, allocations: 142.5 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1487, allocations: 0 / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1487, allocations: 4 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1487, allocations: 4 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.1492, allocations: 419.3 kB / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1493, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.1493, allocations: 24.02 kB / 476.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1493, allocations: 0 / 476.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1494, allocations: 8 kB / 476.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1494, allocations: 0 / 476.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1494, allocations: 0 / 476.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1496, allocations: 237.9 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1497, allocations: 92.91 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1497, allocations: 7.938 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.1498, allocations: 8 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.1498, allocations: 11.94 kB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1499, allocations: 8 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.15, allocations: 146.9 kB / 477.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.15, allocations: 0 / 477.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1502, allocations: 24 kB / 477.2 MB, free: 7.691 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009644/0.1512, allocations: 453.1 kB / 477.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1515, allocations: 83.89 kB / 477.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1515, allocations: 0 / 477.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.1516, allocations: 44.03 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1518, allocations: 15.94 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.1523, allocations: 269.9 kB / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1526, allocations: 0.7043 MB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.789e-05/0.1526, allocations: 24.94 kB / 478.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1527, allocations: 15.44 kB / 478.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1527, allocations: 0 / 478.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Templates: time 0.003767/0.1564, allocations: 1.253 MB / 480 MB, free: 4.969 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches