Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.001141, allocations: 182.8 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.712/1.712, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008832/0.0008833, allocations: 94.84 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.2217/0.2217, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4436/0.5828, allocations: 86.63 MB / 0.5634 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5831, allocations: 74.72 kB / 0.5634 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.5941, allocations: 4.304 MB / 0.5676 GB, free: 9.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5941, allocations: 0 / 0.5676 GB, free: 9.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.5942, allocations: 4 kB / 0.5676 GB, free: 9.703 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.0004476/0.5946, allocations: 378.9 kB / 0.568 GB, free: 9.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5947, allocations: 12.02 kB / 0.568 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.5947, allocations: 7.906 kB / 0.568 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.595, allocations: 190.5 kB / 0.5682 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.595, allocations: 7.5 kB / 0.5682 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.595, allocations: 7.922 kB / 0.5682 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.5952, allocations: 66.64 kB / 0.5683 GB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5953, allocations: 4 kB / 0.5683 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.5953, allocations: 0 / 0.5683 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5953, allocations: 0 / 0.5683 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.525e-05/0.5954, allocations: 23.42 kB / 0.5683 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.5958, allocations: 267.4 kB / 0.5686 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.596, allocations: 53.69 kB / 0.5686 GB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.596, allocations: 0 / 0.5686 GB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.5961, allocations: 38.5 kB / 0.5686 GB, free: 8.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5961, allocations: 0 / 0.5686 GB, free: 8.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005729/0.5966, allocations: 154.3 kB / 0.5688 GB, free: 8.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.5967, allocations: 77.11 kB / 0.5689 GB, free: 8.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.5968, allocations: 133.5 kB / 0.569 GB, free: 8.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.5969, allocations: 25.7 kB / 0.569 GB, free: 8.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.5969, allocations: 95.77 kB / 0.5691 GB, free: 8.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.5969, allocations: 19.23 kB / 0.5691 GB, free: 8.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5969, allocations: 0 / 0.5691 GB, free: 8.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5971, allocations: 318.5 kB / 0.5694 GB, free: 7.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.5971, allocations: 19.3 kB / 0.5694 GB, free: 7.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.5972, allocations: 36.83 kB / 0.5695 GB, free: 7.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.5973, allocations: 31.17 kB / 0.5695 GB, free: 7.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5973, allocations: 0 / 0.5695 GB, free: 7.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001741/0.5975, allocations: 84.89 kB / 0.5696 GB, free: 7.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5975, allocations: 15.45 kB / 0.5696 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.5975, allocations: 0 / 0.5696 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5975, allocations: 0 / 0.5696 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.5976, allocations: 12 kB / 0.5696 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5976, allocations: 0 / 0.5696 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.5977, allocations: 11.23 kB / 0.5696 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.5977, allocations: 8.203 kB / 0.5696 GB, free: 7.527 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 9.863e-05/0.5978, allocations: 116.8 kB / 0.5697 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.5978, allocations: 11.84 kB / 0.5698 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.5981, allocations: 95.81 kB / 0.5698 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5981, allocations: 0 / 0.5698 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5981, allocations: 0 / 0.5698 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5981, allocations: 0 / 0.5698 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.5985, allocations: 364.1 kB / 0.5702 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.5986, allocations: 0 / 0.5702 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.5986, allocations: 15.98 kB / 0.5702 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5986, allocations: 0 / 0.5702 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5986, allocations: 0 / 0.5702 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5986, allocations: 4 kB / 0.5702 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5987, allocations: 0 / 0.5702 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.5989, allocations: 189.4 kB / 0.5704 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.599, allocations: 89 kB / 0.5705 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.599, allocations: 4 kB / 0.5705 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.5991, allocations: 6.625 kB / 0.5705 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.5991, allocations: 11.92 kB / 0.5705 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.5991, allocations: 0 / 0.5705 GB, free: 6.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.285e-05/0.5992, allocations: 106.9 kB / 0.5706 GB, free: 6.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5992, allocations: 7.875 kB / 0.5706 GB, free: 6.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000254/0.5995, allocations: 27.11 kB / 0.5706 GB, free: 6.453 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.00099/0.6005, allocations: 451.8 kB / 0.5711 GB, free: 6.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.6007, allocations: 50.97 kB / 0.5711 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6007, allocations: 4 kB / 0.5711 GB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.6008, allocations: 32.61 kB / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.601, allocations: 22.22 kB / 0.5712 GB, free: 5.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.6014, allocations: 167.4 kB / 0.5713 GB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.6017, allocations: 0.6887 MB / 0.572 GB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.6018, allocations: 12.44 kB / 0.572 GB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.6018, allocations: 18.8 kB / 0.572 GB, free: 5.051 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6018, allocations: 0 / 0.572 GB, free: 5.051 MB / 378.7 MB Notification: Performance of Templates: time 0.003806/0.6057, allocations: 1.272 MB / 0.5733 GB, free: 3.789 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches