Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001247/0.001247, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001189/0.001189, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2127/0.2127, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 71.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3229, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002723/0.3257, allocations: 1.575 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006899/0.3264, allocations: 410.9 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.3265, allocations: 5.344 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.3268, allocations: 119.6 kB / 0.5205 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.3271, allocations: 89.75 kB / 0.5206 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.3273, allocations: 84.81 kB / 0.5207 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3275, allocations: 90.84 kB / 0.5208 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3276, allocations: 19.17 kB / 0.5208 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.3277, allocations: 47.53 kB / 0.5208 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3279, allocations: 79.47 kB / 0.5209 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.3279, allocations: 2.438 kB / 0.5209 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.328, allocations: 43.86 kB / 0.5209 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.3281, allocations: 23.38 kB / 0.521 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.3281, allocations: 39.72 kB / 0.521 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3283, allocations: 113.5 kB / 0.5211 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3283, allocations: 5.406 kB / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3283, allocations: 0 / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3283, allocations: 0 / 0.5211 GB, free: 1.684 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.0004391/0.3288, allocations: 427 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3288, allocations: 10.55 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.3288, allocations: 36.59 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.3289, allocations: 10.06 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3291, allocations: 209 kB / 0.5218 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3291, allocations: 1.781 kB / 0.5218 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3291, allocations: 11.58 kB / 0.5218 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3292, allocations: 52.23 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3293, allocations: 0 / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3293, allocations: 5.031 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3293, allocations: 0.7031 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.3294, allocations: 29.5 kB / 0.5219 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.3297, allocations: 307.6 kB / 0.5222 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3298, allocations: 46.86 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.3299, allocations: 14.84 kB / 0.5222 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3299, allocations: 0.75 kB / 0.5222 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.33, allocations: 36.39 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.33, allocations: 0 / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008498/0.3308, allocations: 228.9 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.3309, allocations: 60.81 kB / 0.5225 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.3311, allocations: 272.6 kB / 0.5228 GB, free: 244 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.3311, allocations: 26.92 kB / 0.5228 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.3311, allocations: 114.9 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.3312, allocations: 26.62 kB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.3312, allocations: 27.83 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3313, allocations: 324.1 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.3314, allocations: 23.78 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.3315, allocations: 29.95 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3317, allocations: 58.69 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3317, allocations: 5.594 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002373/0.3319, allocations: 105.9 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3319, allocations: 8.281 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3319, allocations: 96 / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.332, allocations: 5.078 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.3321, allocations: 16.8 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3321, allocations: 6 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.3321, allocations: 4.75 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3321, allocations: 6.312 kB / 0.5235 GB, free: 15.62 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.0001088/0.3323, allocations: 133.7 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.3323, allocations: 13.84 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.3326, allocations: 122.1 kB / 0.5238 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3326, allocations: 0 / 0.5238 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3326, allocations: 11.03 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3326, allocations: 0.5156 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.3331, allocations: 405.5 kB / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3332, allocations: 3.938 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.3332, allocations: 22.03 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3332, allocations: 1.188 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3333, allocations: 1.281 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3333, allocations: 1.938 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3333, allocations: 80 / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3336, allocations: 219.9 kB / 0.5244 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.3336, allocations: 93.23 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3337, allocations: 5.938 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.3337, allocations: 8.844 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3338, allocations: 6.062 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3338, allocations: 6.219 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.334, allocations: 205.8 kB / 0.5248 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.334, allocations: 0 / 0.5248 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3343, allocations: 20.14 kB / 0.5248 GB, free: 14.65 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.00164/0.3359, allocations: 1.088 MB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3361, allocations: 64.55 kB / 0.5259 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3362, allocations: 0 / 0.5259 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.3363, allocations: 35.7 kB / 0.5259 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.3367, allocations: 26.86 kB / 0.526 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.3387, allocations: 1.776 MB / 0.5277 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3391, allocations: 0.7197 MB / 0.5284 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.3391, allocations: 12.86 kB / 0.5284 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.3392, allocations: 42.19 kB / 0.5284 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3392, allocations: 0 / 0.5284 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.3612, allocations: 3.327 MB / 0.5317 GB, free: 10.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.035, allocations: 12.59 kB / 0.5317 GB, free: 10.14 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time