Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 186.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008837/0.0008834, allocations: 90.88 kB / 270.2 MB, free: 13.36 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.2369/0.2369, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5903, allocations: 86.35 MB / 0.5631 GB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.5908, allocations: 69.16 kB / 0.5631 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.6034, allocations: 3.524 MB / 0.5666 GB, free: 10.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6035, allocations: 0 / 0.5666 GB, free: 10.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.6035, allocations: 4 kB / 0.5666 GB, free: 10.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005762/0.6041, allocations: 386.6 kB / 0.567 GB, free: 9.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.6042, allocations: 12.02 kB / 0.567 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.6042, allocations: 7.906 kB / 0.567 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.6045, allocations: 190 kB / 0.5672 GB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.6046, allocations: 4 kB / 0.5672 GB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.6046, allocations: 4 kB / 0.5672 GB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.6048, allocations: 48.94 kB / 0.5672 GB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6048, allocations: 3.938 kB / 0.5672 GB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6049, allocations: 3.812 kB / 0.5672 GB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6049, allocations: 0 / 0.5672 GB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.605, allocations: 31.41 kB / 0.5673 GB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.6055, allocations: 270.5 kB / 0.5675 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.6057, allocations: 49.56 kB / 0.5676 GB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.6058, allocations: 4.078 kB / 0.5676 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.6058, allocations: 30.56 kB / 0.5676 GB, free: 9.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 4.067e-06/0.6059, allocations: 0 / 0.5676 GB, free: 9.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007123/0.6066, allocations: 155.3 kB / 0.5677 GB, free: 9.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.6067, allocations: 55.41 kB / 0.5678 GB, free: 9.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.6068, allocations: 135.6 kB / 0.5679 GB, free: 8.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.6069, allocations: 29.7 kB / 0.568 GB, free: 8.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.6069, allocations: 90.92 kB / 0.568 GB, free: 8.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.607, allocations: 18.98 kB / 0.5681 GB, free: 8.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.607, allocations: 0 / 0.5681 GB, free: 8.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6071, allocations: 317.8 kB / 0.5684 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/0.6073, allocations: 20.11 kB / 0.5684 GB, free: 8.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.6074, allocations: 27.17 kB / 0.5684 GB, free: 8.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.29e-05/0.6075, allocations: 19.11 kB / 0.5684 GB, free: 8.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.6075, allocations: 0 / 0.5684 GB, free: 8.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002659/0.6077, allocations: 92.27 kB / 0.5685 GB, free: 8.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6078, allocations: 8 kB / 0.5685 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6078, allocations: 0 / 0.5685 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.6078, allocations: 0 / 0.5685 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.6079, allocations: 15.98 kB / 0.5685 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.6079, allocations: 3.938 kB / 0.5685 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.608, allocations: 19.92 kB / 0.5686 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.608, allocations: 0 / 0.5686 GB, free: 8.234 MB / 378.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 (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.0001089/0.6081, allocations: 124.7 kB / 0.5687 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.6082, allocations: 7.906 kB / 0.5687 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.6085, allocations: 94.77 kB / 0.5688 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6085, allocations: 4 kB / 0.5688 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6085, allocations: 320 / 0.5688 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6086, allocations: 0 / 0.5688 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.6092, allocations: 363.5 kB / 0.5691 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6092, allocations: 3.984 kB / 0.5691 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.771e-05/0.6093, allocations: 12 kB / 0.5691 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6093, allocations: 0 / 0.5691 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.6093, allocations: 4 kB / 0.5691 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6093, allocations: 0 / 0.5691 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6093, allocations: 3.953 kB / 0.5691 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.6096, allocations: 197 kB / 0.5693 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.6097, allocations: 85.02 kB / 0.5694 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.6098, allocations: 4 kB / 0.5694 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6099, allocations: 11.17 kB / 0.5694 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.61, allocations: 4 kB / 0.5694 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.61, allocations: 3.953 kB / 0.5694 GB, free: 7.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.6101, allocations: 108.1 kB / 0.5695 GB, free: 7.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6101, allocations: 0 / 0.5695 GB, free: 7.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.6105, allocations: 19.19 kB / 0.5696 GB, free: 7.168 MB / 378.7 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.001408/0.612, allocations: 409.8 kB / 0.5699 GB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.6122, allocations: 53.41 kB / 0.57 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6123, allocations: 0 / 0.57 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.6124, allocations: 35.36 kB / 0.57 GB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.6127, allocations: 11.42 kB / 0.57 GB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.6132, allocations: 167.8 kB / 0.5702 GB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.6136, allocations: 0.7032 MB / 0.5709 GB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.595e-05/0.6136, allocations: 4.188 kB / 0.5709 GB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.6137, allocations: 11.44 kB / 0.5709 GB, free: 5.816 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6137, allocations: 3.938 kB / 0.5709 GB, free: 5.812 MB / 378.7 MB Notification: Performance of Templates: time 0.005026/0.6187, allocations: 1.015 MB / 0.5719 GB, free: 4.809 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches