Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.00131/0.00131, 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.001128/0.001128, 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.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2099/0.2099, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3701, allocations: 60.81 MB / 0.5184 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.00318/0.3733, allocations: 1.588 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007367/0.3741, allocations: 402 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.3742, allocations: 1.375 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.3745, allocations: 75.84 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.3747, allocations: 60.83 kB / 0.5205 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.3751, allocations: 91.62 kB / 0.5206 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.3753, allocations: 71.44 kB / 0.5207 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3754, allocations: 17.41 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.3755, allocations: 33.11 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3756, allocations: 63.08 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3757, allocations: 2.469 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3758, allocations: 43.44 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.04e-05/0.3759, allocations: 25.81 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.3759, allocations: 23.17 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3762, allocations: 101.5 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.3762, allocations: 1.375 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.3762, allocations: 3.938 kB / 0.521 GB, free: 1.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3762, allocations: 0.6562 kB / 0.521 GB, free: 1.707 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.0005371/0.3767, allocations: 406.8 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3768, allocations: 9.5 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.3768, allocations: 37.42 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3769, allocations: 13.91 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3771, allocations: 193.6 kB / 0.5216 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3771, allocations: 5.438 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.3771, allocations: 6.953 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3772, allocations: 52.02 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3773, allocations: 5.031 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3773, allocations: 4 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3773, allocations: 2.016 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.3774, allocations: 28.83 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.3778, allocations: 289.4 kB / 0.522 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3779, allocations: 46.91 kB / 0.522 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.378, allocations: 15.3 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.378, allocations: 1.953 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.378, allocations: 34.56 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.378, allocations: 0.9375 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009077/0.3789, allocations: 214.3 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.379, allocations: 61.3 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3792, allocations: 210.9 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.3792, allocations: 25.7 kB / 0.5226 GB, free: 288 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.3792, allocations: 105 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.3793, allocations: 25.03 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.3793, allocations: 20.78 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3795, allocations: 326.6 kB / 0.523 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.3795, allocations: 25.12 kB / 0.523 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.3796, allocations: 28.16 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3798, allocations: 63.31 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3798, allocations: 0 / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003347/0.3801, allocations: 101.4 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3802, allocations: 7.812 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3802, allocations: 5.25 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3802, allocations: 3.938 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3803, allocations: 26.69 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3804, allocations: 7.922 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.3804, allocations: 4.203 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3804, allocations: 7.484 kB / 0.5233 GB, free: 15.7 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.0001176/0.3805, allocations: 121.8 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.3806, allocations: 9.453 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.3809, allocations: 118.6 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3809, allocations: 1.031 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3809, allocations: 3.938 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3809, allocations: 1.797 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.3815, allocations: 407.5 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3815, allocations: 7.938 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.3816, allocations: 17.31 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3816, allocations: 5.5 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3817, allocations: 2.156 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3817, allocations: 1.094 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3817, allocations: 0 / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.3819, allocations: 202.8 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.382, allocations: 92.56 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.382, allocations: 6.266 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.3821, allocations: 9 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.3822, allocations: 5.484 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3822, allocations: 4.109 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.3823, allocations: 154.6 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3823, allocations: 1.438 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3826, allocations: 22.22 kB / 0.5244 GB, free: 14.76 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.001552/0.3842, allocations: 1.088 MB / 0.5255 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3844, allocations: 68.97 kB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3844, allocations: 0 / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.3845, allocations: 39.89 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.385, allocations: 20.69 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.387, allocations: 1.638 MB / 0.5272 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3873, allocations: 0.706 MB / 0.5279 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.3873, allocations: 12.92 kB / 0.5279 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.3874, allocations: 32.58 kB / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3874, allocations: 0 / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.4051, allocations: 3.04 MB / 0.5309 GB, free: 10.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.118, allocations: 14.3 kB / 0.5309 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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(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[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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time