Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008971/0.0008974, allocations: 96.44 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 176 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3563/0.3563, allocations: 43.55 MB / 314.5 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004755, allocations: 12 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002041/0.1302, allocations: 1.307 MB / 444.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.1308, allocations: 299.8 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.1309, allocations: 0 / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.1315, allocations: 435.2 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.1319, allocations: 243.5 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1324, allocations: 135.8 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.1327, allocations: 123.7 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1328, allocations: 19.97 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1329, allocations: 103.8 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1331, allocations: 143.7 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1332, allocations: 4 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.614e-05/0.1333, allocations: 27.86 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.1334, allocations: 87.69 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.1334, allocations: 61.52 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1336, allocations: 195.9 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1337, allocations: 0 / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1337, allocations: 0 / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1337, allocations: 4 kB / 445.9 MB, free: 9.902 MB / 382.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.000699/0.1344, allocations: 0.6026 MB / 446.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1344, allocations: 12.02 kB / 446.5 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.1345, allocations: 51.38 kB / 446.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1348, allocations: 275.4 kB / 446.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1348, allocations: 4 kB / 446.8 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1349, allocations: 0 / 446.8 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1351, allocations: 73.66 kB / 446.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1351, allocations: 3.938 kB / 446.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1351, allocations: 0 / 446.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1351, allocations: 0 / 446.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1353, allocations: 47.92 kB / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.1358, allocations: 412.6 kB / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.136, allocations: 54.48 kB / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.136, allocations: 0 / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.136, allocations: 38.56 kB / 447.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.136, allocations: 0 / 447.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008643/0.1369, allocations: 344 kB / 447.8 MB, free: 7.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.137, allocations: 55.41 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.1378, allocations: 0.8613 MB / 448.7 MB, free: 6.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1378, allocations: 25.7 kB / 448.7 MB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1379, allocations: 220 kB / 448.9 MB, free: 6.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.138, allocations: 19.66 kB / 449 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.138, allocations: 4 kB / 449 MB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1381, allocations: 358.8 kB / 449.3 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1383, allocations: 47.97 kB / 449.4 MB, free: 6.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1384, allocations: 43.97 kB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1385, allocations: 51.97 kB / 449.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1385, allocations: 0 / 449.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003272/0.1389, allocations: 185 kB / 449.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1389, allocations: 7.953 kB / 449.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1389, allocations: 0 / 449.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1389, allocations: 0 / 449.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.139, allocations: 23.98 kB / 449.7 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1391, allocations: 0 / 449.7 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.1391, allocations: 23.98 kB / 449.7 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1392, allocations: 3.938 kB / 449.7 MB, free: 5.883 MB / 382.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 (7): * Single equations (assignments): 7 * 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 0.0001704/0.1393, allocations: 217.7 kB / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.1394, allocations: 39.53 kB / 449.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.1398, allocations: 205.5 kB / 450.2 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1398, allocations: 0 / 450.2 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1398, allocations: 4 kB / 450.2 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1398, allocations: 3.984 kB / 450.2 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.1404, allocations: 0.518 MB / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1405, allocations: 0 / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.1406, allocations: 35.88 kB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1406, allocations: 0 / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1406, allocations: 0 / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1406, allocations: 0 / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1406, allocations: 0 / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.141, allocations: 267.4 kB / 451 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.1411, allocations: 116.6 kB / 451.1 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1411, allocations: 3.953 kB / 451.1 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1412, allocations: 19.98 kB / 451.1 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1412, allocations: 4 kB / 451.1 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1413, allocations: 4 kB / 451.1 MB, free: 4.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005459/0.1418, allocations: 0.6511 MB / 451.8 MB, free: 3.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1418, allocations: 0 / 451.8 MB, free: 3.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1421, allocations: 27.98 kB / 451.8 MB, free: 3.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0008313/0.1429, allocations: 419 kB / 452.2 MB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1432, allocations: 107.9 kB / 452.3 MB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1433, allocations: 0 / 452.3 MB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1434, allocations: 59.91 kB / 452.4 MB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1437, allocations: 21.95 kB / 452.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1448, allocations: 0.8455 MB / 453.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.1453, allocations: 0.8379 MB / 454.1 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.222e-05/0.1453, allocations: 16.66 kB / 454.1 MB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.1454, allocations: 19.44 kB / 454.1 MB, free: 1.344 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1454, allocations: 0 / 454.1 MB, free: 1.344 MB / 382.1 MB Notification: Performance of Templates: time 0.1701/0.3155, allocations: 1.46 MB / 455.6 MB, free: 46.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches