Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009827/0.0009833, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.622/1.622, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007536/0.0007533, allocations: 97.47 kB / 271.3 MB, free: 8.234 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.3839/0.3839, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003547, allocations: 12 kB / 432.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 58.85 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.5016, allocations: 86.9 MB / 0.5648 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.5018, allocations: 72.47 kB / 0.5649 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.5136, allocations: 4.631 MB / 0.5694 GB, free: 10.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5136, allocations: 0 / 0.5694 GB, free: 10.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.5136, allocations: 3.938 kB / 0.5694 GB, free: 10.29 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003758/0.514, allocations: 394.8 kB / 0.5698 GB, free: 9.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.514, allocations: 8.031 kB / 0.5698 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.5141, allocations: 8.844 kB / 0.5698 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.5143, allocations: 196.2 kB / 0.57 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.5143, allocations: 4.375 kB / 0.57 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.5143, allocations: 8.375 kB / 0.57 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5145, allocations: 88.73 kB / 0.5701 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5145, allocations: 1.25 kB / 0.5701 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5145, allocations: 7.938 kB / 0.5701 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5145, allocations: 0 / 0.5701 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.5146, allocations: 39.97 kB / 0.5701 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.515, allocations: 392.9 kB / 0.5705 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.5153, allocations: 89.44 kB / 0.5706 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.5154, allocations: 33.8 kB / 0.5706 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.5154, allocations: 0 / 0.5706 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.5154, allocations: 34.56 kB / 0.5707 GB, free: 8.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.5154, allocations: 4 kB / 0.5707 GB, free: 8.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006225/0.5161, allocations: 250.1 kB / 0.5709 GB, free: 8.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.5161, allocations: 106.8 kB / 0.571 GB, free: 8.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.5163, allocations: 137.3 kB / 0.5711 GB, free: 8.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.5163, allocations: 25.7 kB / 0.5712 GB, free: 8.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.5163, allocations: 107.2 kB / 0.5713 GB, free: 8.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.5164, allocations: 35.53 kB / 0.5713 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.5164, allocations: 0 / 0.5713 GB, free: 8.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5165, allocations: 322.8 kB / 0.5716 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.5166, allocations: 39.97 kB / 0.5716 GB, free: 7.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.5167, allocations: 58.48 kB / 0.5717 GB, free: 7.695 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.5169, allocations: 99.39 kB / 0.5718 GB, free: 7.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5169, allocations: 0 / 0.5718 GB, free: 7.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002511/0.5172, allocations: 129.5 kB / 0.5719 GB, free: 7.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5172, allocations: 4 kB / 0.5719 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.5172, allocations: 0 / 0.5719 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.5172, allocations: 4 kB / 0.5719 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.5173, allocations: 23.98 kB / 0.5719 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5173, allocations: 4 kB / 0.5719 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.5174, allocations: 8.859 kB / 0.572 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5174, allocations: 4 kB / 0.572 GB, free: 7.414 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 (10): * Single equations (assignments): 10 * 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.468e-05/0.5175, allocations: 122.3 kB / 0.5721 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.5175, allocations: 15.78 kB / 0.5721 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.5178, allocations: 149.9 kB / 0.5722 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5179, allocations: 0 / 0.5722 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5179, allocations: 4.062 kB / 0.5722 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5179, allocations: 7.938 kB / 0.5722 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.5185, allocations: 0.5024 MB / 0.5727 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5186, allocations: 4 kB / 0.5727 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.5186, allocations: 19.98 kB / 0.5728 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.5186, allocations: 0 / 0.5728 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5187, allocations: 19.95 kB / 0.5728 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5187, allocations: 0 / 0.5728 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5187, allocations: 3.938 kB / 0.5728 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.519, allocations: 300.2 kB / 0.5731 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.5191, allocations: 93 kB / 0.5732 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.5191, allocations: 8.219 kB / 0.5732 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.5192, allocations: 7.984 kB / 0.5732 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.5192, allocations: 8 kB / 0.5732 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.5192, allocations: 7.938 kB / 0.5732 GB, free: 6.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.153e-05/0.5193, allocations: 107.2 kB / 0.5733 GB, free: 5.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5194, allocations: 0 / 0.5733 GB, free: 5.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.5197, allocations: 32 kB / 0.5733 GB, free: 5.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008907/0.5206, allocations: 455.9 kB / 0.5738 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.5208, allocations: 95.88 kB / 0.5738 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5208, allocations: 0 / 0.5738 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.5209, allocations: 47.91 kB / 0.5739 GB, free: 5.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.5212, allocations: 16 kB / 0.5739 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.5217, allocations: 249.1 kB / 0.5741 GB, free: 5.129 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.5219, allocations: 0.6965 MB / 0.5748 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.564e-05/0.522, allocations: 35.31 kB / 0.5749 GB, free: 4.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.5221, allocations: 15.44 kB / 0.5749 GB, free: 4.363 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5221, allocations: 0 / 0.5749 GB, free: 4.363 MB / 394.7 MB Notification: Performance of Templates: time 0.003502/0.5256, allocations: 1.453 MB / 0.5763 GB, free: 2.914 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches