Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001265/0.001266, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.001111/0.001111, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2002/0.2002, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3035, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002717/0.3062, allocations: 1.58 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005991/0.3068, allocations: 419.1 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.3069, allocations: 1.344 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.3071, allocations: 71.89 kB / 0.5205 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.3073, allocations: 67.33 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.3076, allocations: 111.9 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3077, allocations: 70.28 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.3078, allocations: 19.73 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.3079, allocations: 34.5 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.308, allocations: 57.11 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.308, allocations: 3.312 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.3081, allocations: 43.25 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.3082, allocations: 23.92 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.3082, allocations: 30.02 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.3084, allocations: 98.77 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3084, allocations: 0 / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3085, allocations: 1.156 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3085, allocations: 3.938 kB / 0.521 GB, free: 1.676 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.0004347/0.3089, allocations: 403.1 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.309, allocations: 14.5 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.309, allocations: 37.19 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.309, allocations: 9.031 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3092, allocations: 197.8 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.3092, allocations: 2.391 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3092, allocations: 5.969 kB / 0.5216 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3094, allocations: 54.23 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3094, allocations: 3.906 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3094, allocations: 4.938 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3094, allocations: 5.125 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3095, allocations: 26.33 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.3099, allocations: 304.7 kB / 0.522 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.31, allocations: 40.66 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.3101, allocations: 23.22 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3101, allocations: 5.734 kB / 0.5221 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3101, allocations: 32.36 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3101, allocations: 0 / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000846/0.311, allocations: 246.2 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.311, allocations: 56.47 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3112, allocations: 211.9 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.3112, allocations: 25.7 kB / 0.5226 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.3113, allocations: 108.6 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3113, allocations: 25 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.3113, allocations: 20.97 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3114, allocations: 322.9 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.3115, allocations: 33.86 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/0.3116, allocations: 30.34 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3117, allocations: 76.61 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3118, allocations: 0 / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002068/0.312, allocations: 112.4 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.312, allocations: 6.312 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.312, allocations: 4 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.312, allocations: 1.062 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.3121, allocations: 16.59 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3121, allocations: 6.062 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.3122, allocations: 8.469 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3122, allocations: 2.906 kB / 0.5234 GB, free: 15.65 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 8.868e-05/0.3123, allocations: 123 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.3123, allocations: 13.47 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.3126, allocations: 130.3 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3126, allocations: 1.812 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3126, allocations: 4.734 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3126, allocations: 0 / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.3131, allocations: 416.8 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.3131, allocations: 5.672 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.3132, allocations: 20.06 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3132, allocations: 1.406 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3132, allocations: 1.125 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3132, allocations: 1.953 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.3133, allocations: 5.172 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3135, allocations: 222.7 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.3136, allocations: 91.27 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3136, allocations: 5.531 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3137, allocations: 5 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.3137, allocations: 10.38 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.3137, allocations: 2.344 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.3138, allocations: 155.7 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3138, allocations: 0 / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.3141, allocations: 21 kB / 0.5246 GB, free: 14.7 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.001347/0.3154, allocations: 1.102 MB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3157, allocations: 72.3 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3157, allocations: 0 / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.071e-05/0.3158, allocations: 38.56 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.0003371/0.3161, allocations: 18.48 kB / 0.5258 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3177, allocations: 1.687 MB / 0.5274 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.318, allocations: 0.709 MB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.899e-05/0.3181, allocations: 24.7 kB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.3181, allocations: 40.89 kB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3181, allocations: 0 / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.3363, allocations: 3.087 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.777, allocations: 10.02 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y,clock.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