Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009476/0.0009479, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.674/1.674, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007888/0.0007888, allocations: 85.41 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3904/0.3904, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004437, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4976, allocations: 86.67 MB / 0.5646 GB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.4979, allocations: 77.8 kB / 0.5647 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.5083, allocations: 4.308 MB / 0.5689 GB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5083, allocations: 0 / 0.5689 GB, free: 10.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.984e-06/0.5083, allocations: 0 / 0.5689 GB, free: 10.99 MB / 394.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.0003584/0.5087, allocations: 382.9 kB / 0.5692 GB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.5087, allocations: 16.03 kB / 0.5693 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.5088, allocations: 12.48 kB / 0.5693 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.509, allocations: 188.2 kB / 0.5694 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.509, allocations: 384 / 0.5694 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.509, allocations: 4.359 kB / 0.5695 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5092, allocations: 63.97 kB / 0.5695 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5092, allocations: 4.125 kB / 0.5695 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5092, allocations: 3.938 kB / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.5092, allocations: 4 kB / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.655e-05/0.5093, allocations: 23.98 kB / 0.5695 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.5097, allocations: 272.9 kB / 0.5698 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.5099, allocations: 50.44 kB / 0.5699 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.51, allocations: 20.94 kB / 0.5699 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.51, allocations: 7.984 kB / 0.5699 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.51, allocations: 30.84 kB / 0.5699 GB, free: 9.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.51, allocations: 0 / 0.5699 GB, free: 9.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005124/0.5105, allocations: 151.2 kB / 0.5701 GB, free: 9.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.5106, allocations: 81.11 kB / 0.5701 GB, free: 9.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.5107, allocations: 137.8 kB / 0.5703 GB, free: 9.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.5108, allocations: 25.7 kB / 0.5703 GB, free: 9.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.5108, allocations: 100.1 kB / 0.5704 GB, free: 9.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.5108, allocations: 19.66 kB / 0.5704 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.5108, allocations: 0 / 0.5704 GB, free: 9.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.511, allocations: 322.8 kB / 0.5707 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.511, allocations: 15.98 kB / 0.5707 GB, free: 8.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.5111, allocations: 45.69 kB / 0.5708 GB, free: 8.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.5112, allocations: 48.84 kB / 0.5708 GB, free: 8.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.5112, allocations: 0 / 0.5708 GB, free: 8.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000166/0.5114, allocations: 89.62 kB / 0.5709 GB, free: 8.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5114, allocations: 8 kB / 0.5709 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.5114, allocations: 0 / 0.5709 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5115, allocations: 0 / 0.5709 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.5115, allocations: 12.88 kB / 0.5709 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5115, allocations: 3.984 kB / 0.5709 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.5116, allocations: 12 kB / 0.5709 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5116, allocations: 4 kB / 0.5709 GB, free: 8.641 MB / 394.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 8.163e-05/0.5117, allocations: 117.8 kB / 0.5711 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.5117, allocations: 7.906 kB / 0.5711 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.5119, allocations: 97.81 kB / 0.5712 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5119, allocations: 4 kB / 0.5712 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.512, allocations: 5.094 kB / 0.5712 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.512, allocations: 3.984 kB / 0.5712 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.5124, allocations: 350.5 kB / 0.5715 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5124, allocations: 0 / 0.5715 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.5124, allocations: 23.91 kB / 0.5715 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5124, allocations: 4 kB / 0.5715 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.5125, allocations: 0 / 0.5715 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5125, allocations: 0 / 0.5715 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5125, allocations: 3.938 kB / 0.5715 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.5127, allocations: 195.4 kB / 0.5717 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.5127, allocations: 81.02 kB / 0.5718 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.5128, allocations: 8 kB / 0.5718 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.5128, allocations: 7.984 kB / 0.5718 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.5129, allocations: 3.938 kB / 0.5718 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.5129, allocations: 4 kB / 0.5718 GB, free: 7.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.513, allocations: 99.27 kB / 0.5719 GB, free: 7.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.513, allocations: 7.938 kB / 0.5719 GB, free: 7.535 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.5132, allocations: 27.98 kB / 0.5719 GB, free: 7.508 MB / 394.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.0008543/0.5141, allocations: 456.5 kB / 0.5724 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.5143, allocations: 55.97 kB / 0.5724 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5143, allocations: 0 / 0.5724 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.5143, allocations: 27.98 kB / 0.5725 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.5146, allocations: 15.92 kB / 0.5725 GB, free: 7.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.5149, allocations: 170.9 kB / 0.5726 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.5152, allocations: 0.6848 MB / 0.5733 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.108e-05/0.5152, allocations: 7.984 kB / 0.5733 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.5153, allocations: 19.44 kB / 0.5733 GB, free: 6.129 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5153, allocations: 0 / 0.5733 GB, free: 6.129 MB / 394.7 MB Notification: Performance of Templates: time 0.003214/0.5185, allocations: 1.289 MB / 0.5746 GB, free: 4.844 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches