Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001252, allocations: 93.09 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.00202/0.002021, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.474/1.474, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2115/0.2115, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 12.94 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001841/0.1296, allocations: 1.29 MB / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.1304, allocations: 411.4 kB / 473.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.1304, allocations: 0 / 473.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.1307, allocations: 83.81 kB / 474 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1309, allocations: 67.8 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1312, allocations: 106.8 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1313, allocations: 71.88 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.1314, allocations: 16.17 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.1315, allocations: 27.8 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.1316, allocations: 55.88 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1316, allocations: 0 / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.761e-05/0.1317, allocations: 43.97 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1318, allocations: 19.92 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.1318, allocations: 57.39 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.132, allocations: 95.97 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.132, allocations: 0 / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.132, allocations: 0 / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.132, allocations: 0 / 474.6 MB, free: 10.97 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.0004378/0.1324, allocations: 403.1 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1325, allocations: 12.03 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1325, allocations: 12.75 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1327, allocations: 200.8 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1327, allocations: 384 / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1327, allocations: 8.375 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1329, allocations: 57.61 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1329, allocations: 3.938 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1329, allocations: 4 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1329, allocations: 4 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1331, allocations: 31.97 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.1335, allocations: 304.7 kB / 475.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1336, allocations: 58.48 kB / 475.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.1337, allocations: 24.94 kB / 475.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1337, allocations: 0 / 475.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1337, allocations: 34.5 kB / 475.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1337, allocations: 0 / 475.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009167/0.1346, allocations: 265.1 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1347, allocations: 51.41 kB / 476 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1349, allocations: 231.2 kB / 476.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1349, allocations: 29.7 kB / 476.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.135, allocations: 112 kB / 476.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.135, allocations: 23.7 kB / 476.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1351, allocations: 21.72 kB / 476.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1352, allocations: 322.8 kB / 476.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.1353, allocations: 31.98 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.1354, allocations: 36.05 kB / 476.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1355, allocations: 84.95 kB / 476.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1356, allocations: 0 / 476.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.1358, allocations: 125.4 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1358, allocations: 4 kB / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1358, allocations: 4 kB / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1358, allocations: 0 / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1359, allocations: 19.98 kB / 477 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.136, allocations: 3.938 kB / 477 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.136, allocations: 7.938 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.136, allocations: 4 kB / 477.1 MB, free: 8.258 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 9.276e-05/0.1361, allocations: 130.4 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.1362, allocations: 11.91 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.1365, allocations: 150.9 kB / 477.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1365, allocations: 0 / 477.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1365, allocations: 7.938 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1365, allocations: 0 / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.137, allocations: 435.2 kB / 477.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.137, allocations: 0 / 477.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.1371, allocations: 19.94 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1371, allocations: 8.016 kB / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1371, allocations: 0 / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1372, allocations: 4 kB / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1372, allocations: 7.875 kB / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1374, allocations: 216.3 kB / 478 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1375, allocations: 100.8 kB / 478.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1375, allocations: 0 / 478.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.1376, allocations: 4 kB / 478.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1376, allocations: 7.984 kB / 478.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.1377, allocations: 8 kB / 478.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1378, allocations: 163.2 kB / 478.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1378, allocations: 0 / 478.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1381, allocations: 27.98 kB / 478.3 MB, free: 6.875 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.0009955/0.1391, allocations: 451.1 kB / 478.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1393, allocations: 83.94 kB / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1393, allocations: 0 / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1394, allocations: 43.92 kB / 478.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1398, allocations: 22.58 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.1403, allocations: 302.2 kB / 479.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1406, allocations: 0.716 MB / 479.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.214e-05/0.1406, allocations: 16.97 kB / 480 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.1407, allocations: 15.42 kB / 480 MB, free: 5.363 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1407, allocations: 0 / 480 MB, free: 5.363 MB / 350.1 MB Notification: Performance of Templates: time 0.003647/0.1443, allocations: 1.308 MB / 481.3 MB, free: 4.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches