Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 183.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.635/1.635, 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.0009571/0.0009572, allocations: 86.8 kB / 270.2 MB, free: 13.37 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.2192/0.2192, allocations: 43.57 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 58.85 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4265/0.5551, allocations: 87.98 MB / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/0.5555, allocations: 79.86 kB / 0.5647 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0315/0.5871, allocations: 8.803 MB / 0.5733 GB, free: 4.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5871, allocations: 0 / 0.5733 GB, free: 4.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.031e-05/0.5872, allocations: 8 kB / 0.5733 GB, free: 4.145 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001129/0.5883, allocations: 0.7829 MB / 0.5741 GB, free: 3.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.5883, allocations: 8.031 kB / 0.5741 GB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.5885, allocations: 55.25 kB / 0.5742 GB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.5892, allocations: 472.9 kB / 0.5746 GB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.5893, allocations: 7.938 kB / 0.5746 GB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.5893, allocations: 15.88 kB / 0.5746 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.5896, allocations: 150.2 kB / 0.5748 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.5897, allocations: 3.984 kB / 0.5748 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.5897, allocations: 3.938 kB / 0.5748 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.5897, allocations: 7.953 kB / 0.5748 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.59, allocations: 115.1 kB / 0.5749 GB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.5911, allocations: 0.7301 MB / 0.5756 GB, free: 1.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.5914, allocations: 132 kB / 0.5758 GB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.5914, allocations: 4 kB / 0.5758 GB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5914, allocations: 34.55 kB / 0.5758 GB, free: 1.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.5914, allocations: 7.938 kB / 0.5758 GB, free: 1.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.00197/0.5934, allocations: 0.7401 MB / 0.5765 GB, free: 1.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.5935, allocations: 88.75 kB / 0.5766 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.5945, allocations: 0.7892 MB / 0.5774 GB, free: 300 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5945, allocations: 25.92 kB / 0.5774 GB, free: 268 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.5947, allocations: 257.6 kB / 0.5776 GB, free: 124 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.5947, allocations: 72.81 kB / 0.5777 GB, free: 60 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.5948, allocations: 0 / 0.5777 GB, free: 60 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5949, allocations: 370.6 kB / 0.5781 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.5952, allocations: 111.7 kB / 0.5782 GB, free: 15.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.5955, allocations: 124.3 kB / 0.5783 GB, free: 15.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.5958, allocations: 115.8 kB / 0.5784 GB, free: 15.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5958, allocations: 0 / 0.5784 GB, free: 15.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006715/0.5964, allocations: 332.6 kB / 0.5787 GB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5965, allocations: 7.984 kB / 0.5787 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5965, allocations: 7.953 kB / 0.5787 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5965, allocations: 4 kB / 0.5787 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.5968, allocations: 59.89 kB / 0.5788 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5968, allocations: 4 kB / 0.5788 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.5971, allocations: 39.47 kB / 0.5788 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.5971, allocations: 4 kB / 0.5788 GB, free: 15.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002254/0.5973, allocations: 213.5 kB / 0.579 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.5974, allocations: 55.25 kB / 0.5791 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/0.5983, allocations: 390.2 kB / 0.5795 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5983, allocations: 7.953 kB / 0.5795 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5983, allocations: 0 / 0.5795 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5983, allocations: 0 / 0.5795 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.5998, allocations: 1.002 MB / 0.5805 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5998, allocations: 0 / 0.5805 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.6001, allocations: 63.95 kB / 0.5805 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.6001, allocations: 3.984 kB / 0.5805 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.6001, allocations: 11.77 kB / 0.5805 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6001, allocations: 0 / 0.5805 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6001, allocations: 0 / 0.5805 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.6009, allocations: 0.519 MB / 0.581 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.6012, allocations: 181.9 kB / 0.5812 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.6013, allocations: 3.188 kB / 0.5812 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.6016, allocations: 35.78 kB / 0.5813 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.6017, allocations: 19.91 kB / 0.5813 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.6018, allocations: 11.62 kB / 0.5813 GB, free: 12.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008175/0.6026, allocations: 0.6254 MB / 0.5819 GB, free: 12.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6026, allocations: 0 / 0.5819 GB, free: 12.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004553/0.6031, allocations: 74.19 kB / 0.582 GB, free: 12.21 MB / 394.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 (20): * Single equations (assignments): 20 * 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.001243/0.6043, allocations: 413.9 kB / 0.5824 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007214/0.6051, allocations: 255.7 kB / 0.5826 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6051, allocations: 0 / 0.5826 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.6054, allocations: 147.5 kB / 0.5827 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.606, allocations: 69.73 kB / 0.5828 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.6078, allocations: 1.04 MB / 0.5838 GB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.6083, allocations: 0.873 MB / 0.5847 GB, free: 9.613 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.6085, allocations: 98.89 kB / 0.5848 GB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.6087, allocations: 46.98 kB / 0.5848 GB, free: 9.477 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.6087, allocations: 0 / 0.5848 GB, free: 9.477 MB / 394.7 MB Notification: Performance of Templates: time 0.01009/0.6188, allocations: 4.592 MB / 0.5893 GB, free: 4.895 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches