Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001146/0.001146, 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.001212/0.001212, 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.395/1.395, 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.2212/0.2212, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3542, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002673/0.3569, allocations: 1.575 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.3576, allocations: 404.9 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.3577, allocations: 1.438 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.3579, allocations: 80.69 kB / 0.5205 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.3581, allocations: 59.14 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.3584, allocations: 88.98 kB / 0.5206 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3585, allocations: 70.31 kB / 0.5207 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.3586, allocations: 14.56 kB / 0.5207 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.369e-05/0.3587, allocations: 36.67 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3588, allocations: 62.5 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3588, allocations: 2.438 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.3589, allocations: 39.5 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.359, allocations: 23.38 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.359, allocations: 25.86 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3592, allocations: 103.3 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3592, allocations: 0 / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3592, allocations: 0 / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3592, allocations: 3.938 kB / 0.521 GB, free: 1.699 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.0003738/0.3596, allocations: 407.7 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3596, allocations: 9.656 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.3597, allocations: 33.38 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.3597, allocations: 9.188 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3599, allocations: 198.3 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3599, allocations: 5.438 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3599, allocations: 6.406 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.36, allocations: 56.62 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3601, allocations: 3.906 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3601, allocations: 9.797 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3601, allocations: 1.188 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.3602, allocations: 24.5 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.3605, allocations: 286 kB / 0.522 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.3606, allocations: 46.02 kB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.3606, allocations: 19.28 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3607, allocations: 1.203 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.3607, allocations: 36.25 kB / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3607, allocations: 0 / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008152/0.3615, allocations: 224.1 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.3615, allocations: 56.44 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3617, allocations: 210.7 kB / 0.5225 GB, free: 308 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.3617, allocations: 25.7 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.3618, allocations: 108.3 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3618, allocations: 25.48 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.3618, allocations: 20.48 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3619, allocations: 334.4 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.362, allocations: 22.25 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.3621, allocations: 22.66 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3622, allocations: 59.22 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3622, allocations: 1.062 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002007/0.3625, allocations: 104.5 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3625, allocations: 12.27 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3625, allocations: 1.219 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3625, allocations: 3.984 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.3626, allocations: 21.61 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3626, allocations: 5 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.3627, allocations: 4.359 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.3627, allocations: 6.344 kB / 0.5233 GB, free: 15.69 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.796e-05/0.3628, allocations: 123.2 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.3628, allocations: 13 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.3631, allocations: 118.8 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3631, allocations: 1.375 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3631, allocations: 3.938 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3631, allocations: 4.547 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.3636, allocations: 408.4 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3636, allocations: 4.938 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.3637, allocations: 17.95 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3637, allocations: 0 / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3637, allocations: 1.609 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3638, allocations: 1.094 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3638, allocations: 1.219 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.364, allocations: 202.1 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.3641, allocations: 92.75 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3641, allocations: 5.812 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.3642, allocations: 5.312 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3642, allocations: 9.984 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.3642, allocations: 2.312 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3644, allocations: 156.5 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3644, allocations: 0 / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3646, allocations: 22.42 kB / 0.5244 GB, free: 14.75 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.001396/0.366, allocations: 1.091 MB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3662, allocations: 58.91 kB / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3663, allocations: 1.75 kB / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.3663, allocations: 42.98 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3667, allocations: 20.61 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.3684, allocations: 1.633 MB / 0.5272 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3687, allocations: 0.7064 MB / 0.5279 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.3688, allocations: 16.92 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.3688, allocations: 32.66 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3688, allocations: 0 / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.3882, allocations: 3.051 MB / 0.5309 GB, free: 10.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.973, allocations: 6.609 kB / 0.5309 GB, free: 10.51 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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[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