Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008824/0.0008824, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007503/0.0007503, allocations: 97.95 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2769/0.2769, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2746, allocations: 61.88 MB / 0.5107 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09762/0.3722, allocations: 88.07 MB / 0.5967 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3725, allocations: 79.95 kB / 0.5968 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009731/0.3822, allocations: 3.782 MB / 0.6005 GB, free: 3.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3823, allocations: 0 / 0.6005 GB, free: 3.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3823, allocations: 4 kB / 0.6005 GB, free: 3.156 MB / 410.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.0003788/0.3827, allocations: 391.1 kB / 0.6009 GB, free: 2.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3827, allocations: 12.02 kB / 0.6009 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.3828, allocations: 8.844 kB / 0.6009 GB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.383, allocations: 202 kB / 0.6011 GB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.383, allocations: 4.375 kB / 0.6011 GB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.383, allocations: 4.375 kB / 0.6011 GB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.3832, allocations: 50.19 kB / 0.6011 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3832, allocations: 192 / 0.6011 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3832, allocations: 3.938 kB / 0.6011 GB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3832, allocations: 0 / 0.6011 GB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3833, allocations: 35.97 kB / 0.6012 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.3837, allocations: 277 kB / 0.6014 GB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3839, allocations: 50.44 kB / 0.6015 GB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.3839, allocations: 28.94 kB / 0.6015 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3839, allocations: 0 / 0.6015 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.384, allocations: 30.56 kB / 0.6016 GB, free: 1.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.384, allocations: 3.938 kB / 0.6016 GB, free: 1.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005135/0.3845, allocations: 173.2 kB / 0.6017 GB, free: 1.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3845, allocations: 51.41 kB / 0.6018 GB, free: 1.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3847, allocations: 157.8 kB / 0.6019 GB, free: 1.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3847, allocations: 25.7 kB / 0.6019 GB, free: 1.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.3848, allocations: 108 kB / 0.602 GB, free: 1.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.3848, allocations: 19.75 kB / 0.6021 GB, free: 1.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.3848, allocations: 0 / 0.6021 GB, free: 1.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3849, allocations: 326.8 kB / 0.6024 GB, free: 1.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.385, allocations: 19.98 kB / 0.6024 GB, free: 1.004 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.3851, allocations: 23.98 kB / 0.6024 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3852, allocations: 69.02 kB / 0.6025 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3852, allocations: 0 / 0.6025 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001751/0.3854, allocations: 97.5 kB / 0.6026 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3854, allocations: 8 kB / 0.6026 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3854, allocations: 0 / 0.6026 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.3855, allocations: 7.938 kB / 0.6026 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.3855, allocations: 15.98 kB / 0.6026 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3855, allocations: 0 / 0.6026 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.3856, allocations: 4 kB / 0.6026 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3856, allocations: 0 / 0.6026 GB, free: 0.7734 MB / 410.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.564e-05/0.3857, allocations: 126.3 kB / 0.6027 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3857, allocations: 11.91 kB / 0.6027 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.3859, allocations: 109.9 kB / 0.6028 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.386, allocations: 0 / 0.6028 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.386, allocations: 0 / 0.6028 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.386, allocations: 3.984 kB / 0.6029 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.3864, allocations: 366.5 kB / 0.6032 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3864, allocations: 3.938 kB / 0.6032 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.3864, allocations: 15.98 kB / 0.6032 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3865, allocations: 0 / 0.6032 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3865, allocations: 4 kB / 0.6032 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3865, allocations: 4 kB / 0.6032 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3865, allocations: 0 / 0.6032 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.3867, allocations: 191.8 kB / 0.6034 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.3868, allocations: 96.95 kB / 0.6035 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3868, allocations: 4.281 kB / 0.6035 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.3869, allocations: 7.984 kB / 0.6035 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3869, allocations: 4 kB / 0.6035 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.3869, allocations: 7.938 kB / 0.6035 GB, free: 15.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.367e-05/0.387, allocations: 126 kB / 0.6036 GB, free: 15.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.387, allocations: 0 / 0.6036 GB, free: 15.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.3873, allocations: 23.92 kB / 0.6037 GB, free: 15.59 MB / 426.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.0007892/0.3881, allocations: 403.8 kB / 0.6041 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.3883, allocations: 55.95 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3883, allocations: 4 kB / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.3884, allocations: 40.05 kB / 0.6042 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.3886, allocations: 11.77 kB / 0.6042 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.389, allocations: 213.3 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.3893, allocations: 0.7121 MB / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.3894, allocations: 8 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.3894, allocations: 15.42 kB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3894, allocations: 0 / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of Templates: time 0.003282/0.3927, allocations: 1.087 MB / 0.6061 GB, free: 13.16 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches