Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.231/1.231, allocations: 223.2 MB / 241 MB, free: 10.14 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.000912/0.0009118, allocations: 92.3 kB / 292.2 MB, free: 10.7 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.3059/0.3059, allocations: 44.2 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3168, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.4254, allocations: 88.16 MB / 0.5956 GB, free: 6.977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4256, allocations: 87.92 kB / 0.5957 GB, free: 6.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.4359, allocations: 4.28 MB / 0.5999 GB, free: 2.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4359, allocations: 3.938 kB / 0.5999 GB, free: 2.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.4359, allocations: 0 / 0.5999 GB, free: 2.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003933/0.4363, allocations: 418.8 kB / 0.6003 GB, free: 2.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4364, allocations: 12.56 kB / 0.6003 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.4364, allocations: 7.906 kB / 0.6003 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4367, allocations: 204 kB / 0.6005 GB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.4367, allocations: 3.938 kB / 0.6005 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.4367, allocations: 4 kB / 0.6005 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.4368, allocations: 65.62 kB / 0.6006 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4369, allocations: 0 / 0.6006 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4369, allocations: 0 / 0.6006 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4369, allocations: 3.938 kB / 0.6006 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.437, allocations: 27.98 kB / 0.6006 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.4374, allocations: 312.7 kB / 0.6009 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.628e-05/0.4375, allocations: 46.5 kB / 0.601 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.4375, allocations: 0 / 0.601 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4375, allocations: 30.56 kB / 0.601 GB, free: 1.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.4375, allocations: 3.984 kB / 0.601 GB, free: 1.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008331/0.4384, allocations: 273.2 kB / 0.6013 GB, free: 1.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.4384, allocations: 51.41 kB / 0.6013 GB, free: 1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.4386, allocations: 183.1 kB / 0.6015 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4386, allocations: 25.7 kB / 0.6015 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.4387, allocations: 115.9 kB / 0.6016 GB, free: 0.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.4387, allocations: 23.66 kB / 0.6016 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.4387, allocations: 4 kB / 0.6016 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4388, allocations: 326.8 kB / 0.602 GB, free: 320 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/0.4389, allocations: 35.97 kB / 0.602 GB, free: 284 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.439, allocations: 31.98 kB / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.047e-05/0.4391, allocations: 43.97 kB / 0.6021 GB, free: 208 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4391, allocations: 0 / 0.6021 GB, free: 208 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002162/0.4393, allocations: 125.4 kB / 0.6022 GB, free: 76 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4393, allocations: 4 kB / 0.6022 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.4393, allocations: 4 kB / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.4393, allocations: 0 / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.4394, allocations: 23.98 kB / 0.6022 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4395, allocations: 0 / 0.6022 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.4395, allocations: 4 kB / 0.6022 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4395, allocations: 4 kB / 0.6022 GB, free: 36 kB / 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 (8): * Single equations (assignments): 8 * 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.0001154/0.4396, allocations: 133.7 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4397, allocations: 11.91 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.4399, allocations: 138.3 kB / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.44, allocations: 0 / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.44, allocations: 4 kB / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.44, allocations: 0 / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.4405, allocations: 443.2 kB / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4405, allocations: 7.984 kB / 0.6029 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.4406, allocations: 16 kB / 0.6029 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4406, allocations: 0 / 0.6029 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.4406, allocations: 4 kB / 0.6029 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4406, allocations: 4.484 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4406, allocations: 7.938 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.4409, allocations: 229.9 kB / 0.6032 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.4409, allocations: 101 kB / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.441, allocations: 0 / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.441, allocations: 8 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.4411, allocations: 15.94 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.4411, allocations: 0 / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.4412, allocations: 156 kB / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4412, allocations: 0 / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.4415, allocations: 24 kB / 0.6035 GB, free: 14.64 MB / 426.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 (8): * Single equations (assignments): 8 * 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.0008759/0.4423, allocations: 475.3 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4426, allocations: 83.95 kB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4426, allocations: 0 / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.4427, allocations: 43.91 kB / 0.604 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.4429, allocations: 30.64 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.4433, allocations: 282.4 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4436, allocations: 0.7121 MB / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.4436, allocations: 24.95 kB / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.4437, allocations: 15.44 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4437, allocations: 0 / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of Templates: time 0.003219/0.4469, allocations: 1.369 MB / 0.6064 GB, free: 11.74 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches