Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001463, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2752/0.2752, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.444e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4916/0.608, allocations: 87.62 MB / 0.5584 GB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.6083, allocations: 77.44 kB / 0.5584 GB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02271/0.631, allocations: 5.307 MB / 0.5636 GB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6311, allocations: 7.938 kB / 0.5636 GB, free: 11.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.6311, allocations: 3.984 kB / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005804/0.6317, allocations: 390.1 kB / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6318, allocations: 8.031 kB / 0.564 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.6318, allocations: 7.906 kB / 0.564 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.6322, allocations: 210 kB / 0.5642 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.6323, allocations: 0 / 0.5642 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.6323, allocations: 10.84 kB / 0.5642 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.6325, allocations: 56.55 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6325, allocations: 0 / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6325, allocations: 0 / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6325, allocations: 0 / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.108e-05/0.6326, allocations: 23.42 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.6331, allocations: 296.2 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.6333, allocations: 54.44 kB / 0.5646 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.6333, allocations: 18.3 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.6334, allocations: 4 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.6335, allocations: 67.77 kB / 0.5647 GB, free: 10.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.188e-06/0.6335, allocations: 0 / 0.5647 GB, free: 10.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.6341, allocations: 164 kB / 0.5649 GB, free: 10.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.6342, allocations: 51.41 kB / 0.5649 GB, free: 10.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.6344, allocations: 164.3 kB / 0.5651 GB, free: 9.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6345, allocations: 25.7 kB / 0.5651 GB, free: 9.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.6346, allocations: 168.5 kB / 0.5653 GB, free: 9.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.6346, allocations: 23.59 kB / 0.5653 GB, free: 9.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.6346, allocations: 0 / 0.5653 GB, free: 9.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6348, allocations: 318.8 kB / 0.5656 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/0.6348, allocations: 15.94 kB / 0.5656 GB, free: 9.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.6349, allocations: 40.97 kB / 0.5657 GB, free: 9.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.635, allocations: 22.48 kB / 0.5657 GB, free: 9.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.635, allocations: 0 / 0.5657 GB, free: 9.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002157/0.6352, allocations: 97.8 kB / 0.5658 GB, free: 9.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.6353, allocations: 8 kB / 0.5658 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6353, allocations: 0 / 0.5658 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6353, allocations: 0 / 0.5658 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.6355, allocations: 15.98 kB / 0.5658 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.6355, allocations: 11.89 kB / 0.5658 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.6356, allocations: 4.031 kB / 0.5658 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.6356, allocations: 4 kB / 0.5658 GB, free: 9.152 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.61e-05/0.6357, allocations: 113.8 kB / 0.5659 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.6358, allocations: 15.8 kB / 0.5659 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.6361, allocations: 114 kB / 0.566 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6361, allocations: 0 / 0.566 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6361, allocations: 0 / 0.566 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6361, allocations: 7.938 kB / 0.5661 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.6367, allocations: 402.1 kB / 0.5664 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6367, allocations: 0 / 0.5664 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.6368, allocations: 11.98 kB / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.6368, allocations: 0 / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.6369, allocations: 7.438 kB / 0.5665 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6369, allocations: 3.953 kB / 0.5665 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6369, allocations: 0 / 0.5665 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.6372, allocations: 215.1 kB / 0.5667 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.6373, allocations: 96.53 kB / 0.5668 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.6373, allocations: 7.953 kB / 0.5668 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6375, allocations: 3.938 kB / 0.5668 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.6375, allocations: 11.48 kB / 0.5668 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.6375, allocations: 4 kB / 0.5668 GB, free: 8.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.6377, allocations: 133.8 kB / 0.5669 GB, free: 8.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6377, allocations: 0 / 0.5669 GB, free: 8.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.6381, allocations: 35.36 kB / 0.5669 GB, free: 7.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001226/0.6393, allocations: 427.7 kB / 0.5674 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.6395, allocations: 58 kB / 0.5674 GB, free: 7.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6395, allocations: 0 / 0.5674 GB, free: 7.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.446e-05/0.6396, allocations: 38.36 kB / 0.5674 GB, free: 7.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.64, allocations: 21.75 kB / 0.5675 GB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.6405, allocations: 177.4 kB / 0.5676 GB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.6408, allocations: 0.7156 MB / 0.5683 GB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.6409, allocations: 15.44 kB / 0.5684 GB, free: 6.59 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.6409, allocations: 0 / 0.5684 GB, free: 6.59 MB / 378.7 MB Notification: Performance of Templates: time 0.005183/0.6461, allocations: 1.895 MB / 0.5702 GB, free: 4.703 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches