Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007897/0.0007897, allocations: 95.34 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.0008666/0.0008667, allocations: 173.8 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.448/1.448, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.2219/0.2219, allocations: 44.25 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003424, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002113/0.133, allocations: 1.29 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.1338, allocations: 399.4 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.1339, allocations: 0 / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1342, allocations: 71.84 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1344, allocations: 55.8 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1347, allocations: 82.23 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1349, allocations: 71.81 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.135, allocations: 12.19 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.1351, allocations: 35.77 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1352, allocations: 43.91 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1353, allocations: 0 / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.1354, allocations: 47.97 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.1354, allocations: 15.92 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.1355, allocations: 57.39 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1357, allocations: 95.97 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1357, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1357, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1357, allocations: 0 / 474.5 MB, free: 11.06 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.000595/0.1363, allocations: 395.2 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.1364, allocations: 8.031 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1365, allocations: 20.72 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1367, allocations: 192.1 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1367, allocations: 384 / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1367, allocations: 4.375 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1369, allocations: 65.59 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1369, allocations: 7.891 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1369, allocations: 0 / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.137, allocations: 0 / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1371, allocations: 35.97 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1375, allocations: 288.8 kB / 475.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1376, allocations: 46.55 kB / 475.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1376, allocations: 20.86 kB / 475.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1377, allocations: 0 / 475.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1377, allocations: 30.56 kB / 475.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1377, allocations: 3.938 kB / 475.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008699/0.1386, allocations: 253.2 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.1386, allocations: 51.41 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1389, allocations: 210.1 kB / 476.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1389, allocations: 29.7 kB / 476.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.139, allocations: 112.1 kB / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.139, allocations: 23.64 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1391, allocations: 13.72 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1392, allocations: 326.8 kB / 476.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.1393, allocations: 27.98 kB / 476.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.1394, allocations: 32.05 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1395, allocations: 68.83 kB / 476.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1395, allocations: 0 / 476.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002121/0.1398, allocations: 117.4 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1398, allocations: 6.5 kB / 476.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1398, allocations: 0 / 476.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1398, allocations: 0 / 476.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.1399, allocations: 27.92 kB / 476.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1399, allocations: 3.938 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.14, allocations: 12 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.14, allocations: 0 / 476.9 MB, free: 8.457 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.0001051/0.1401, allocations: 130.3 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.1403, allocations: 7.906 kB / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.1405, allocations: 134.3 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1405, allocations: 0 / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1405, allocations: 3.938 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1406, allocations: 0 / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.1411, allocations: 415.2 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1411, allocations: 0 / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.1412, allocations: 19.94 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1412, allocations: 0 / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1412, allocations: 4 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1412, allocations: 7.984 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1412, allocations: 0 / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1415, allocations: 212.7 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.1416, allocations: 89.36 kB / 477.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1416, allocations: 4 kB / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.1417, allocations: 8 kB / 477.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.1418, allocations: 11.98 kB / 477.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1418, allocations: 4 kB / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1419, allocations: 155.2 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1419, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1422, allocations: 16 kB / 478.1 MB, free: 7.148 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.001135/0.1433, allocations: 471.8 kB / 478.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.1435, allocations: 71.95 kB / 478.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1436, allocations: 0 / 478.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.1436, allocations: 35.92 kB / 478.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.144, allocations: 30.89 kB / 478.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.1446, allocations: 274.3 kB / 478.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.145, allocations: 0.7121 MB / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.145, allocations: 8.984 kB / 479.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.145, allocations: 15.44 kB / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1451, allocations: 0 / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Templates: time 0.004492/0.1496, allocations: 1.252 MB / 480.9 MB, free: 4.414 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches