Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001458/0.001458, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001756/0.001756, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2111/0.2111, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4493, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002633/0.452, allocations: 1.565 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.4527, allocations: 400.7 kB / 0.5203 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.4528, allocations: 1.156 kB / 0.5203 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.453, allocations: 20.42 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.4532, allocations: 45.86 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.4535, allocations: 91.78 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.4536, allocations: 54.83 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.4537, allocations: 12.38 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.4537, allocations: 17.75 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.4538, allocations: 24.62 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.4538, allocations: 2.438 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.4539, allocations: 29.94 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.454, allocations: 15.8 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.454, allocations: 28.03 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.4542, allocations: 83.55 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4542, allocations: 0 / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4542, allocations: 0 / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4542, allocations: 0 / 0.5208 GB, free: 1.738 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003823/0.4546, allocations: 377.4 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4546, allocations: 9.031 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.366e-05/0.4547, allocations: 36.55 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.4547, allocations: 8.562 kB / 0.5212 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.4548, allocations: 202.3 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.4549, allocations: 1.594 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.4549, allocations: 1.281 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.455, allocations: 57.27 kB / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.455, allocations: 0 / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.4551, allocations: 1.812 kB / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.4551, allocations: 0 / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.4552, allocations: 22.58 kB / 0.5214 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.4554, allocations: 279 kB / 0.5217 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.4556, allocations: 40.27 kB / 0.5217 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.4557, allocations: 16.91 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.4557, allocations: 2.031 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.4557, allocations: 32.52 kB / 0.5218 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4557, allocations: 4 kB / 0.5218 GB, free: 0.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000474/0.4562, allocations: 143.1 kB / 0.5219 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.4563, allocations: 52.94 kB / 0.522 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.4564, allocations: 165.9 kB / 0.5221 GB, free: 428 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.4564, allocations: 25.7 kB / 0.5222 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.4565, allocations: 95.78 kB / 0.5223 GB, free: 304 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.4565, allocations: 18.53 kB / 0.5223 GB, free: 288 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.4565, allocations: 18.67 kB / 0.5223 GB, free: 268 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.4566, allocations: 324.2 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.4567, allocations: 22.97 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/0.4568, allocations: 18.84 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.4569, allocations: 41.78 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4569, allocations: 1.125 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001669/0.4571, allocations: 84.94 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4571, allocations: 6.188 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4571, allocations: 4.75 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4571, allocations: 0 / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.4572, allocations: 13.08 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4572, allocations: 3.938 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.4572, allocations: 9.688 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4573, allocations: 5.094 kB / 0.5228 GB, free: 15.85 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 (5): * Single equations (assignments): 5 * 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.527e-05/0.4573, allocations: 122.1 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4574, allocations: 8.5 kB / 0.5229 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.4576, allocations: 93.22 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4576, allocations: 5.047 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4576, allocations: 1.75 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4576, allocations: 0 / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.4581, allocations: 348.3 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4581, allocations: 0 / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.4582, allocations: 16.2 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4582, allocations: 1.812 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.4582, allocations: 0 / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4582, allocations: 9.125 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4582, allocations: 0.5156 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.4584, allocations: 181.7 kB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.4585, allocations: 83.73 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.4585, allocations: 1.562 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.4586, allocations: 8.266 kB / 0.5236 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.4586, allocations: 3.312 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.4586, allocations: 6.594 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.4587, allocations: 132 kB / 0.5238 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4587, allocations: 0 / 0.5238 GB, free: 14.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.459, allocations: 18.77 kB / 0.5238 GB, free: 14.96 MB / 398.1 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 (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.001301/0.4603, allocations: 0.9969 MB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.4605, allocations: 52.91 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4605, allocations: 0 / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.837e-05/0.4606, allocations: 24.53 kB / 0.5248 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.4609, allocations: 18.2 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.4625, allocations: 1.474 MB / 0.5263 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.4628, allocations: 0.6973 MB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.432e-05/0.4628, allocations: 6.516 kB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.4629, allocations: 26.08 kB / 0.527 GB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4629, allocations: 0 / 0.527 GB, free: 12.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.4828, allocations: 2.586 MB / 0.5295 GB, free: 11.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.081, allocations: 10.38 kB / 0.5296 GB, free: 11.21 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time