Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001103/0.001102, allocations: 113.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.001282/0.001282, allocations: 188.9 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.416/1.416, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2211/0.2211, allocations: 44.17 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4182, allocations: 60.83 MB / 0.5184 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.004153/0.4224, allocations: 1.554 MB / 0.52 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.4235, allocations: 413 kB / 0.5204 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.4236, allocations: 1.031 kB / 0.5204 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.4239, allocations: 25.27 kB / 0.5204 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.4242, allocations: 37.83 kB / 0.5204 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.4246, allocations: 110 kB / 0.5205 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.4248, allocations: 56.11 kB / 0.5206 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.425, allocations: 11.91 kB / 0.5206 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.425, allocations: 19.22 kB / 0.5206 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.4251, allocations: 23.62 kB / 0.5206 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.4251, allocations: 3.312 kB / 0.5206 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.4253, allocations: 33.67 kB / 0.5207 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.646e-05/0.4253, allocations: 20.14 kB / 0.5207 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.4254, allocations: 21.75 kB / 0.5207 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.4257, allocations: 82.97 kB / 0.5208 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4257, allocations: 0 / 0.5208 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4257, allocations: 0 / 0.5208 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.4257, allocations: 0 / 0.5208 GB, free: 1.992 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.0005337/0.4262, allocations: 384.2 kB / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4263, allocations: 11.09 kB / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.4263, allocations: 31.36 kB / 0.5212 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.4264, allocations: 12.31 kB / 0.5212 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.4265, allocations: 195.8 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.4266, allocations: 6.062 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.4266, allocations: 1.938 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.4267, allocations: 58.2 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4268, allocations: 0 / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4268, allocations: 1.188 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.4268, allocations: 1.188 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4269, allocations: 22.39 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.4273, allocations: 286.6 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.4275, allocations: 45.03 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.4276, allocations: 19.81 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.4276, allocations: 0 / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.4276, allocations: 32.28 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.4276, allocations: 1.281 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005339/0.4281, allocations: 154.2 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.4282, allocations: 52.78 kB / 0.522 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4283, allocations: 164.4 kB / 0.5222 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.4284, allocations: 31.36 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.4284, allocations: 93.78 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.4284, allocations: 16.03 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.4285, allocations: 22.06 kB / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.4285, allocations: 324.9 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.4286, allocations: 20.48 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.4287, allocations: 21.03 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.4288, allocations: 54.98 kB / 0.5228 GB, free: 156 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4288, allocations: 1.156 kB / 0.5228 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001862/0.429, allocations: 89.64 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.429, allocations: 5.156 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.429, allocations: 0 / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4291, allocations: 1.984 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.4291, allocations: 11.06 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.4291, allocations: 4.969 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.4292, allocations: 5.219 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.4292, allocations: 8.969 kB / 0.5229 GB, free: 92 kB / 382.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 9.245e-05/0.4293, allocations: 127 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.4293, allocations: 8.531 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.4296, allocations: 98.86 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4296, allocations: 5.562 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4296, allocations: 0 / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.4296, allocations: 5.781 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.4302, allocations: 358.9 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4302, allocations: 0 / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.4302, allocations: 16.14 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4302, allocations: 1.031 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4303, allocations: 1.828 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.4303, allocations: 3.938 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4303, allocations: 1.094 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.4305, allocations: 185.4 kB / 0.5237 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.4306, allocations: 82.73 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.4306, allocations: 1.922 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.4307, allocations: 9.406 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4308, allocations: 7.719 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.4308, allocations: 1.094 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.4309, allocations: 127.4 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4309, allocations: 0 / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.4312, allocations: 14.58 kB / 0.5239 GB, free: 15.2 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.001381/0.4326, allocations: 1.021 MB / 0.5249 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.4328, allocations: 61.8 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4328, allocations: 0 / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.4329, allocations: 25.03 kB / 0.525 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.4332, allocations: 20.66 kB / 0.525 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.435, allocations: 1.484 MB / 0.5264 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.4352, allocations: 0.6991 MB / 0.5271 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.864e-05/0.4353, allocations: 11.38 kB / 0.5271 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.4354, allocations: 26.36 kB / 0.5272 GB, free: 12.39 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4354, allocations: 0 / 0.5272 GB, free: 12.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.454, allocations: 2.623 MB / 0.5297 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/8.031, allocations: 9.359 kB / 0.5297 GB, free: 11.35 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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(d_t_new.u),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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time