Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009345, allocations: 94.05 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.0008529/0.0008528, allocations: 168.9 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.416/1.416, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2008/0.2008, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002143/0.1487, allocations: 1.294 MB / 473.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.1496, allocations: 407.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.1497, allocations: 4 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.15, allocations: 103.8 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.1502, allocations: 71.78 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1505, allocations: 98.94 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1506, allocations: 75.81 kB / 474.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.1508, allocations: 24.16 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.1509, allocations: 39.77 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.151, allocations: 55.89 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1511, allocations: 0 / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.075e-05/0.1512, allocations: 43.97 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.1512, allocations: 23.86 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.1513, allocations: 57.45 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1515, allocations: 95.97 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1515, allocations: 8 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1515, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1515, allocations: 0 / 474.6 MB, free: 10.96 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.0005285/0.1521, allocations: 417.1 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1521, allocations: 8.031 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.1522, allocations: 12.84 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1524, allocations: 208.5 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1524, allocations: 8.375 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1524, allocations: 8.312 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1526, allocations: 57.62 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1526, allocations: 3.984 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1526, allocations: 0 / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1526, allocations: 4 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1528, allocations: 31.92 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.1533, allocations: 312.7 kB / 475.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1534, allocations: 42.56 kB / 475.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.1534, allocations: 28.88 kB / 475.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1535, allocations: 0 / 475.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1535, allocations: 34.56 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1535, allocations: 0 / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000951/0.1545, allocations: 269.1 kB / 476 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1545, allocations: 51.41 kB / 476.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.1549, allocations: 250.5 kB / 476.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1549, allocations: 25.7 kB / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.155, allocations: 112.1 kB / 476.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1551, allocations: 23.64 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1551, allocations: 17.72 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.1553, allocations: 322.8 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.1554, allocations: 35.98 kB / 476.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1556, allocations: 40.03 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1558, allocations: 84.75 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1558, allocations: 0 / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002276/0.156, allocations: 125.5 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.156, allocations: 6.5 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.156, allocations: 0 / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1561, allocations: 4 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1562, allocations: 19.98 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1562, allocations: 3.938 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.1562, allocations: 8 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1563, allocations: 4 kB / 477.1 MB, free: 8.211 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.0001023/0.1564, allocations: 133.8 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1564, allocations: 11.81 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.1567, allocations: 143 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1567, allocations: 4.422 kB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1567, allocations: 3.938 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1567, allocations: 0 / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.1573, allocations: 427.3 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1573, allocations: 0 / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.1574, allocations: 27.86 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1574, allocations: 3.984 kB / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1574, allocations: 11.94 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1574, allocations: 0 / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1574, allocations: 0 / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1577, allocations: 220.6 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1578, allocations: 96.84 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1578, allocations: 4 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.1579, allocations: 8 kB / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.158, allocations: 15.98 kB / 478.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.158, allocations: 0 / 478.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1581, allocations: 192.2 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1582, allocations: 0 / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1584, allocations: 16 kB / 478.4 MB, free: 6.812 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.001036/0.1595, allocations: 459 kB / 478.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1597, allocations: 71.95 kB / 479 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1597, allocations: 4 kB / 479 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.765e-05/0.1598, allocations: 47.91 kB / 479 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1602, allocations: 23.92 kB / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.1607, allocations: 334.2 kB / 479.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.161, allocations: 0.716 MB / 480.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.1611, allocations: 20.97 kB / 480.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.1611, allocations: 11.44 kB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1611, allocations: 0 / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of Templates: time 0.004138/0.1653, allocations: 1.308 MB / 481.4 MB, free: 3.961 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches