Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 194.6 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.5 MB / 244.1 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000767/0.0007674, allocations: 93.92 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2915/0.2915, allocations: 44.81 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002509/0.000251, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.286, allocations: 62.96 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3933, allocations: 89.37 MB / 0.6037 GB, free: 36 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.3936, allocations: 80.03 kB / 0.6038 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.4067, allocations: 5.114 MB / 0.6088 GB, free: 10.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4068, allocations: 0 / 0.6088 GB, free: 10.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.4068, allocations: 8 kB / 0.6088 GB, free: 10.83 MB / 426.7 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.0005509/0.4074, allocations: 427.3 kB / 0.6092 GB, free: 10.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4074, allocations: 12.88 kB / 0.6092 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.4075, allocations: 12.75 kB / 0.6093 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.4078, allocations: 212.8 kB / 0.6095 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4078, allocations: 4.375 kB / 0.6095 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.4078, allocations: 12.36 kB / 0.6095 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.408, allocations: 62.16 kB / 0.6095 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.408, allocations: 192 / 0.6095 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.408, allocations: 7.938 kB / 0.6095 GB, free: 9.996 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.408, allocations: 0 / 0.6095 GB, free: 9.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.4082, allocations: 35.97 kB / 0.6096 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.4086, allocations: 292.7 kB / 0.6099 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.4087, allocations: 50.5 kB / 0.6099 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.4088, allocations: 16.86 kB / 0.6099 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4088, allocations: 4.078 kB / 0.6099 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.4089, allocations: 38.56 kB / 0.61 GB, free: 9.496 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.4089, allocations: 0 / 0.61 GB, free: 9.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001027/0.4099, allocations: 242.4 kB / 0.6102 GB, free: 9.254 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.41, allocations: 59.39 kB / 0.6102 GB, free: 9.184 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.4102, allocations: 208.1 kB / 0.6104 GB, free: 8.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.4103, allocations: 25.7 kB / 0.6105 GB, free: 8.941 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.4103, allocations: 112 kB / 0.6106 GB, free: 8.828 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.4104, allocations: 23.7 kB / 0.6106 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.4104, allocations: 0 / 0.6106 GB, free: 8.805 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4106, allocations: 326.8 kB / 0.6109 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.4106, allocations: 35.92 kB / 0.6109 GB, free: 8.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.4107, allocations: 27.98 kB / 0.611 GB, free: 8.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4109, allocations: 72.77 kB / 0.611 GB, free: 8.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4109, allocations: 0 / 0.611 GB, free: 8.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002086/0.4111, allocations: 113.5 kB / 0.6112 GB, free: 8.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4111, allocations: 7.984 kB / 0.6112 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4111, allocations: 0 / 0.6112 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4111, allocations: 0 / 0.6112 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4113, allocations: 23.94 kB / 0.6112 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4113, allocations: 3.984 kB / 0.6112 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.4113, allocations: 11.94 kB / 0.6112 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.4114, allocations: 0 / 0.6112 GB, free: 8.176 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.4115, allocations: 137.7 kB / 0.6113 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.4115, allocations: 7.906 kB / 0.6113 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.4118, allocations: 131.2 kB / 0.6115 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4118, allocations: 0 / 0.6115 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4118, allocations: 4 kB / 0.6115 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4118, allocations: 0 / 0.6115 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.4124, allocations: 431.2 kB / 0.6119 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4125, allocations: 4 kB / 0.6119 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.4126, allocations: 20.41 kB / 0.6119 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4126, allocations: 4 kB / 0.6119 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.4126, allocations: 3.938 kB / 0.6119 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4126, allocations: 0 / 0.6119 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4126, allocations: 4.031 kB / 0.6119 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.413, allocations: 204.3 kB / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.4131, allocations: 100.9 kB / 0.6122 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.4132, allocations: 15.88 kB / 0.6122 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.4133, allocations: 11.98 kB / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.4133, allocations: 4 kB / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.4134, allocations: 3.984 kB / 0.6122 GB, free: 7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.4135, allocations: 155.2 kB / 0.6124 GB, free: 6.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4135, allocations: 4 kB / 0.6124 GB, free: 6.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.4138, allocations: 28 kB / 0.6124 GB, free: 6.816 MB / 426.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: 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 (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.4147, allocations: 465.6 kB / 0.6129 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.4151, allocations: 79.88 kB / 0.6129 GB, free: 6.445 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4151, allocations: 0 / 0.6129 GB, free: 6.445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.4153, allocations: 35.98 kB / 0.613 GB, free: 6.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4156, allocations: 19.98 kB / 0.613 GB, free: 6.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.4162, allocations: 304.1 kB / 0.6133 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.4166, allocations: 0.7121 MB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.4166, allocations: 15.44 kB / 0.614 GB, free: 5.305 MB / 426.7 MB Notification: Performance of SimCode: time 6.12e-07/0.4166, allocations: 4 kB / 0.614 GB, free: 5.301 MB / 426.7 MB Notification: Performance of Templates: time 0.003416/0.4201, allocations: 1.803 MB / 0.6158 GB, free: 3.496 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches