Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001233, allocations: 102.6 kB / 16.99 MB, free: 5.941 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.00135/0.001351, allocations: 182 kB / 17.87 MB, free: 5.609 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.48/1.48, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2486/0.2486, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003884, allocations: 17.55 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002007/0.1408, allocations: 1.263 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000652/0.1415, allocations: 355.7 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.1415, allocations: 4 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.1417, allocations: 19.86 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1419, allocations: 27.91 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.1422, allocations: 87.77 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1423, allocations: 43.88 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.1424, allocations: 20 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.1424, allocations: 11.92 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.1425, allocations: 15.92 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1425, allocations: 4 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.1426, allocations: 19.92 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.1426, allocations: 11.98 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.543e-05/0.1427, allocations: 29.64 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1428, allocations: 55.86 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1428, allocations: 3.938 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1428, allocations: 4 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1429, allocations: 0 / 473.4 MB, free: 11.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004895/0.1433, allocations: 363.4 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1434, allocations: 8.562 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1434, allocations: 11.91 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1436, allocations: 179 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1437, allocations: 8 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1437, allocations: 7.953 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1438, allocations: 53.62 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1438, allocations: 0 / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1439, allocations: 3.984 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1439, allocations: 0 / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.144, allocations: 23.98 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.1444, allocations: 288.8 kB / 474.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1447, allocations: 50.5 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1447, allocations: 8.078 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1447, allocations: 30.56 kB / 474.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1447, allocations: 3.938 kB / 474.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006312/0.1454, allocations: 161.3 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.1454, allocations: 55.41 kB / 474.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1456, allocations: 146.1 kB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.1457, allocations: 25.7 kB / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.1457, allocations: 96.05 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1458, allocations: 7.812 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.1458, allocations: 0 / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.146, allocations: 326.8 kB / 475.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1461, allocations: 23.98 kB / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1461, allocations: 27.98 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.892e-05/0.1462, allocations: 31.97 kB / 475.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1462, allocations: 0 / 475.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1464, allocations: 93.52 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1465, allocations: 4 kB / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1465, allocations: 0 / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1465, allocations: 0 / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.1466, allocations: 15.98 kB / 475.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1466, allocations: 0 / 475.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.1466, allocations: 12 kB / 475.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1467, allocations: 3.984 kB / 475.4 MB, free: 9.508 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 (5): * Single equations (assignments): 5 * 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.0001224/0.1468, allocations: 125.7 kB / 475.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.1468, allocations: 7.906 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.1471, allocations: 102.2 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1471, allocations: 11.92 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.1471, allocations: 8.297 kB / 475.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1471, allocations: 0 / 475.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.1476, allocations: 358.5 kB / 476 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1476, allocations: 0 / 476 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.1476, allocations: 19.98 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1476, allocations: 0 / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1477, allocations: 0 / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1477, allocations: 3.938 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1477, allocations: 0 / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1479, allocations: 195.4 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.148, allocations: 88.95 kB / 476.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.148, allocations: 3.984 kB / 476.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.1481, allocations: 8 kB / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.1481, allocations: 0 / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1482, allocations: 3.984 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.1482, allocations: 109.8 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1482, allocations: 0 / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1485, allocations: 20 kB / 476.5 MB, free: 8.359 MB / 350.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 (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.0009508/0.1495, allocations: 413.5 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1497, allocations: 63.89 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1497, allocations: 0 / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.1498, allocations: 31.98 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.1501, allocations: 19.94 kB / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.1505, allocations: 180.6 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1508, allocations: 0.7004 MB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.1509, allocations: 15.97 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.1509, allocations: 11.44 kB / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1509, allocations: 0 / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of Templates: time 0.003279/0.1542, allocations: 1.018 MB / 478.9 MB, free: 6.027 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches