Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009497/0.0009498, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.656/1.656, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007874/0.0007875, allocations: 92.58 kB / 271.3 MB, free: 8.246 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.3821/0.3821, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003684, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.5088, allocations: 86.49 MB / 0.5644 GB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5091, allocations: 75.97 kB / 0.5645 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009334/0.5185, allocations: 3.537 MB / 0.5679 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5185, allocations: 0 / 0.5679 GB, free: 11.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5185, allocations: 3.844 kB / 0.5679 GB, free: 11.94 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.0003885/0.5189, allocations: 386.8 kB / 0.5683 GB, free: 11.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5189, allocations: 16.03 kB / 0.5683 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.519, allocations: 7.688 kB / 0.5683 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.5192, allocations: 195.6 kB / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.5192, allocations: 384 / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.5192, allocations: 4.375 kB / 0.5685 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.5194, allocations: 58.22 kB / 0.5686 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5194, allocations: 192 / 0.5686 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.5194, allocations: 3.938 kB / 0.5686 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.5194, allocations: 0 / 0.5686 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.5195, allocations: 31.98 kB / 0.5686 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.5199, allocations: 280.9 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.5201, allocations: 50.5 kB / 0.5689 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.5202, allocations: 20.94 kB / 0.569 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5202, allocations: 0 / 0.569 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.5202, allocations: 34.56 kB / 0.569 GB, free: 10.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.5202, allocations: 0 / 0.569 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005628/0.5208, allocations: 169.2 kB / 0.5691 GB, free: 10.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5208, allocations: 51.41 kB / 0.5692 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.521, allocations: 142.1 kB / 0.5693 GB, free: 10.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.521, allocations: 29.7 kB / 0.5694 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.5211, allocations: 92.14 kB / 0.5695 GB, free: 10.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.5211, allocations: 15.8 kB / 0.5695 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.5211, allocations: 7.938 kB / 0.5695 GB, free: 10.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5212, allocations: 319 kB / 0.5698 GB, free: 9.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.5213, allocations: 23.98 kB / 0.5698 GB, free: 9.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.5214, allocations: 31.97 kB / 0.5698 GB, free: 9.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.5215, allocations: 56.83 kB / 0.5699 GB, free: 9.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5215, allocations: 3.938 kB / 0.5699 GB, free: 9.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002406/0.5218, allocations: 90.39 kB / 0.57 GB, free: 9.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5218, allocations: 8 kB / 0.57 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.5218, allocations: 0 / 0.57 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5218, allocations: 0 / 0.57 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.5219, allocations: 19.92 kB / 0.57 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5219, allocations: 256 / 0.57 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.522, allocations: 11.98 kB / 0.57 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.522, allocations: 12 kB / 0.57 GB, free: 9.594 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 7.915e-05/0.5221, allocations: 121.7 kB / 0.5701 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.5221, allocations: 7.906 kB / 0.5701 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.5224, allocations: 102 kB / 0.5702 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5224, allocations: 0.75 kB / 0.5702 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5224, allocations: 4 kB / 0.5703 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5224, allocations: 0 / 0.5703 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.5228, allocations: 370.4 kB / 0.5706 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5228, allocations: 0 / 0.5706 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.5229, allocations: 12 kB / 0.5706 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5229, allocations: 4 kB / 0.5706 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.5229, allocations: 0 / 0.5706 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5229, allocations: 3.938 kB / 0.5706 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5229, allocations: 3.984 kB / 0.5706 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.5232, allocations: 191.3 kB / 0.5708 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.5232, allocations: 93 kB / 0.5709 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.5232, allocations: 0 / 0.5709 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.5233, allocations: 8 kB / 0.5709 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.5234, allocations: 7.922 kB / 0.5709 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.5234, allocations: 4 kB / 0.5709 GB, free: 8.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.5235, allocations: 107.3 kB / 0.571 GB, free: 8.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5235, allocations: 0 / 0.571 GB, free: 8.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.5237, allocations: 23.98 kB / 0.571 GB, free: 8.449 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.0008608/0.5246, allocations: 406.1 kB / 0.5714 GB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.5248, allocations: 67.83 kB / 0.5715 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5248, allocations: 0 / 0.5715 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.5249, allocations: 35.98 kB / 0.5715 GB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.5252, allocations: 11.98 kB / 0.5715 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.5255, allocations: 175.2 kB / 0.5717 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.5258, allocations: 0.7043 MB / 0.5724 GB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.5259, allocations: 11.98 kB / 0.5724 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.5259, allocations: 19.36 kB / 0.5724 GB, free: 7.074 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5259, allocations: 0 / 0.5724 GB, free: 7.074 MB / 394.7 MB Notification: Performance of Templates: time 0.003127/0.529, allocations: 1.034 MB / 0.5734 GB, free: 6.047 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches