Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009275, allocations: 97.17 kB / 16.02 MB, free: 84 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.001874/0.001874, allocations: 178.2 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 223.1 MB, free: 5.461 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.3631/0.3631, allocations: 43.57 MB / 315 MB, free: 8.938 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.0004916/0.0004918, allocations: 15.98 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002035/0.1257, allocations: 1.271 MB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.1264, allocations: 307.6 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.1264, allocations: 0 / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.1268, allocations: 127.7 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.127, allocations: 75.84 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1273, allocations: 63.86 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1275, allocations: 79.86 kB / 445.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1276, allocations: 15.98 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.1277, allocations: 39.83 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1278, allocations: 71.86 kB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1279, allocations: 0 / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.128, allocations: 39.91 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.128, allocations: 27.86 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.1281, allocations: 49.45 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1283, allocations: 107.8 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1283, allocations: 0 / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1283, allocations: 0 / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1283, allocations: 0 / 445.7 MB, free: 10.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006147/0.129, allocations: 407 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.129, allocations: 8.031 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.1291, allocations: 16.84 kB / 446.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1293, allocations: 215.7 kB / 446.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1293, allocations: 4.375 kB / 446.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1293, allocations: 384 / 446.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1295, allocations: 49.81 kB / 446.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1295, allocations: 0 / 446.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1295, allocations: 0 / 446.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1295, allocations: 7.938 kB / 446.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.346e-05/0.1296, allocations: 27.98 kB / 446.4 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.13, allocations: 288.8 kB / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1302, allocations: 50.5 kB / 446.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.1303, allocations: 20.94 kB / 446.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1303, allocations: 3.938 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1304, allocations: 30.56 kB / 446.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1304, allocations: 0 / 446.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005582/0.1309, allocations: 177 kB / 447 MB, free: 8.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.131, allocations: 51.41 kB / 447 MB, free: 8.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1312, allocations: 263.3 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1312, allocations: 25.7 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.1313, allocations: 112.1 kB / 447.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.1313, allocations: 7.812 kB / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.1314, allocations: 21.72 kB / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1315, allocations: 326.8 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.1316, allocations: 19.98 kB / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.1317, allocations: 23.98 kB / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1318, allocations: 60.77 kB / 447.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1318, allocations: 0 / 447.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001772/0.132, allocations: 93.48 kB / 448 MB, free: 7.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.132, allocations: 8 kB / 448 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.132, allocations: 3.984 kB / 448 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.132, allocations: 0 / 448 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.1321, allocations: 12 kB / 448 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1321, allocations: 0 / 448 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1322, allocations: 11.92 kB / 448 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1322, allocations: 4 kB / 448 MB, free: 7.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 (5): * Single equations (assignments): 5 * 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.0001164/0.1323, allocations: 145.7 kB / 448.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1323, allocations: 15.81 kB / 448.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.1326, allocations: 102.9 kB / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1326, allocations: 0 / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1326, allocations: 0 / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1326, allocations: 288 / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.1331, allocations: 374.4 kB / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1331, allocations: 3.938 kB / 448.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.1332, allocations: 15.98 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1332, allocations: 0 / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1332, allocations: 3.984 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1332, allocations: 11.94 kB / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1332, allocations: 0 / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1334, allocations: 187.4 kB / 448.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.1335, allocations: 88.92 kB / 448.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1335, allocations: 8 kB / 448.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1336, allocations: 11.92 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1337, allocations: 4 kB / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1337, allocations: 0 / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.1338, allocations: 211.3 kB / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1338, allocations: 0 / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1341, allocations: 16 kB / 449.2 MB, free: 6.598 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 (5): * Single equations (assignments): 5 * 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.0008997/0.135, allocations: 406.6 kB / 449.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1352, allocations: 51.97 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1352, allocations: 0 / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.1353, allocations: 39.86 kB / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1356, allocations: 15.92 kB / 449.7 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.1361, allocations: 293.9 kB / 450 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1364, allocations: 0.716 MB / 450.7 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.1364, allocations: 11.92 kB / 450.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.1365, allocations: 11.44 kB / 450.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1365, allocations: 0 / 450.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of Templates: time 0.003443/0.1399, allocations: 1.066 MB / 451.8 MB, free: 3.973 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches