Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0009334/0.0009335, allocations: 170.3 kB / 18.25 MB, free: 5.504 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.419/1.419, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2163/0.2163, allocations: 44.25 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003141, allocations: 8.688 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002448/0.1355, allocations: 1.286 MB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.1363, allocations: 407.4 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.1364, allocations: 0 / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.1367, allocations: 67.84 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1369, allocations: 63.8 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.1373, allocations: 107.6 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1375, allocations: 67.88 kB / 474.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1376, allocations: 12.19 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.089e-05/0.1377, allocations: 39.77 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1378, allocations: 43.91 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1378, allocations: 4 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1379, allocations: 43.97 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.138, allocations: 15.92 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.1381, allocations: 53.45 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1383, allocations: 91.97 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1383, allocations: 4 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1383, allocations: 0 / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1383, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005496/0.1389, allocations: 399.1 kB / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1389, allocations: 11.97 kB / 474.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.139, allocations: 12.78 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1392, allocations: 196.1 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1392, allocations: 384 / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1392, allocations: 8.375 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1394, allocations: 61.59 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1394, allocations: 3.906 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1394, allocations: 4 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1395, allocations: 4 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1396, allocations: 31.97 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.14, allocations: 296.8 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1402, allocations: 50.56 kB / 475.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.1402, allocations: 16.94 kB / 475.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1402, allocations: 8 kB / 475.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1403, allocations: 34.5 kB / 475.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1403, allocations: 0 / 475.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009774/0.1413, allocations: 261 kB / 475.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1413, allocations: 55.41 kB / 476 MB, free: 9.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1415, allocations: 210.1 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1416, allocations: 29.7 kB / 476.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.1416, allocations: 108.1 kB / 476.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1417, allocations: 27.64 kB / 476.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.1417, allocations: 17.7 kB / 476.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1418, allocations: 322.8 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.1419, allocations: 31.98 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.142, allocations: 35.97 kB / 476.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.1422, allocations: 85.05 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1422, allocations: 0 / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002239/0.1424, allocations: 121.4 kB / 476.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1425, allocations: 8 kB / 476.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1425, allocations: 0 / 476.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1425, allocations: 7.938 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1426, allocations: 19.98 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1426, allocations: 3.938 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.1427, allocations: 11.98 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1427, allocations: 0 / 477 MB, free: 8.355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1428, allocations: 126.4 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1428, allocations: 12.33 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.1431, allocations: 142.3 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1432, allocations: 0 / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1432, allocations: 3.938 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1432, allocations: 3.984 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.1437, allocations: 435.2 kB / 477.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1437, allocations: 3.938 kB / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.1438, allocations: 23.92 kB / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1438, allocations: 4.031 kB / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1438, allocations: 4 kB / 477.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1438, allocations: 0 / 477.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1438, allocations: 3.938 kB / 477.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1441, allocations: 216.3 kB / 477.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.1442, allocations: 96.94 kB / 478 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1442, allocations: 0 / 478 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.1443, allocations: 8 kB / 478 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1443, allocations: 3.984 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1444, allocations: 4 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1445, allocations: 155.2 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1445, allocations: 4 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1447, allocations: 20 kB / 478.2 MB, free: 7 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 (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.001004/0.1458, allocations: 459.7 kB / 478.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.146, allocations: 79.95 kB / 478.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.146, allocations: 0 / 478.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1461, allocations: 47.91 kB / 478.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1465, allocations: 27.92 kB / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.147, allocations: 278.4 kB / 479.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1473, allocations: 0.716 MB / 479.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.5e-05/0.1474, allocations: 12.66 kB / 479.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1474, allocations: 15.44 kB / 479.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1474, allocations: 0 / 479.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of Templates: time 0.003989/0.1514, allocations: 1.293 MB / 481.1 MB, free: 4.207 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches