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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2022/0.2022, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 67.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.33, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002546/0.3326, allocations: 1.577 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006337/0.3333, allocations: 414.5 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.3333, allocations: 5.219 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.3336, allocations: 76.44 kB / 0.5205 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.3338, allocations: 63.2 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.3341, allocations: 114.8 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3343, allocations: 71.59 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3344, allocations: 14.11 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.3345, allocations: 46.34 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3346, allocations: 54.58 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3346, allocations: 6.156 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.3347, allocations: 39.64 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.3348, allocations: 26.81 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.3348, allocations: 22.72 kB / 0.5209 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.335, allocations: 102.8 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.335, allocations: 1.281 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.335, allocations: 0 / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.335, allocations: 3.938 kB / 0.521 GB, free: 1.688 MB / 382.1 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.0004717/0.3355, allocations: 403 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3355, allocations: 9.844 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.3356, allocations: 37.03 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.3356, allocations: 14.22 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.3358, allocations: 197.5 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3358, allocations: 5.75 kB / 0.5216 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3358, allocations: 7.375 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.336, allocations: 56.92 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.336, allocations: 3.906 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.336, allocations: 2.266 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.336, allocations: 0 / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3361, allocations: 30.64 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3365, allocations: 296.2 kB / 0.522 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3366, allocations: 45.86 kB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.3367, allocations: 19.47 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3367, allocations: 0.75 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3367, allocations: 40.39 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3367, allocations: 0 / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008776/0.3376, allocations: 242.5 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3377, allocations: 56.22 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3379, allocations: 211.2 kB / 0.5226 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3379, allocations: 29.7 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.338, allocations: 109.6 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.338, allocations: 24.92 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.338, allocations: 21.08 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3382, allocations: 322 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.3383, allocations: 30.31 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.3384, allocations: 34.94 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3385, allocations: 69.02 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3386, allocations: 0 / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002247/0.3388, allocations: 119.3 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3388, allocations: 5.703 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3388, allocations: 5.312 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3388, allocations: 0 / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3389, allocations: 21.7 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.339, allocations: 3.938 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.339, allocations: 5.391 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.339, allocations: 2.438 kB / 0.5234 GB, free: 15.66 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3391, allocations: 128 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.3392, allocations: 9.344 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.3395, allocations: 131.2 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3395, allocations: 5.188 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3395, allocations: 4.453 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3395, allocations: 1.359 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.3401, allocations: 419 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3401, allocations: 6.281 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.3402, allocations: 15.78 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3402, allocations: 0.9062 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3402, allocations: 7.266 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3402, allocations: 5.031 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3402, allocations: 0 / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.3405, allocations: 207.2 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.3405, allocations: 88.23 kB / 0.5244 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3406, allocations: 2.141 kB / 0.5244 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.3406, allocations: 16.34 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.3407, allocations: 9.031 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.3407, allocations: 7.172 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.3409, allocations: 156.3 kB / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3409, allocations: 0 / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3411, allocations: 20.45 kB / 0.5246 GB, free: 14.71 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/0.3426, allocations: 1.097 MB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3429, allocations: 81.11 kB / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3429, allocations: 0 / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.343, allocations: 37.86 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.3435, allocations: 15.38 kB / 0.5258 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.3455, allocations: 1.688 MB / 0.5274 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3459, allocations: 0.7132 MB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.297e-05/0.346, allocations: 21.14 kB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.3461, allocations: 36.38 kB / 0.5282 GB, free: 11.76 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3461, allocations: 0 / 0.5282 GB, free: 11.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.3673, allocations: 3.092 MB / 0.5312 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.792, allocations: 16.67 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time