Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.001173/0.001172, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.00119/0.00119, allocations: 188 kB / 18.71 MB, free: 4.387 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2043/0.2043, allocations: 44.19 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3387, allocations: 60.83 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002765/0.3415, allocations: 1.611 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.3423, allocations: 426.9 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.3424, allocations: 2.062 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.3427, allocations: 92.83 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.3429, allocations: 74.45 kB / 0.5206 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.3432, allocations: 111 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3434, allocations: 93.28 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3436, allocations: 34.47 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.3436, allocations: 33.8 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3438, allocations: 61.23 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3438, allocations: 4.719 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3439, allocations: 49.03 kB / 0.521 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.344, allocations: 31.34 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.344, allocations: 41.66 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.3442, allocations: 123.9 kB / 0.5211 GB, free: 1.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3442, allocations: 1.031 kB / 0.5212 GB, free: 1.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3442, allocations: 0 / 0.5212 GB, free: 1.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3442, allocations: 0 / 0.5212 GB, free: 1.625 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004248/0.3447, allocations: 425.6 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3447, allocations: 9.812 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.3448, allocations: 38.41 kB / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.3448, allocations: 14.84 kB / 0.5216 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.345, allocations: 214.1 kB / 0.5218 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.345, allocations: 6.625 kB / 0.5218 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.345, allocations: 8.578 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3452, allocations: 78.31 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3453, allocations: 0.5156 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3453, allocations: 5.406 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3453, allocations: 1.188 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3454, allocations: 41.83 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.3459, allocations: 347.2 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3461, allocations: 70.84 kB / 0.5224 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.3461, allocations: 27.47 kB / 0.5224 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.3462, allocations: 6.594 kB / 0.5224 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3462, allocations: 31.62 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3462, allocations: 4 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.00114/0.3473, allocations: 335.5 kB / 0.5227 GB, free: 324 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.3474, allocations: 52.69 kB / 0.5228 GB, free: 260 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.3476, allocations: 228.7 kB / 0.523 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3476, allocations: 35.81 kB / 0.523 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.3477, allocations: 113.5 kB / 0.5232 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.3478, allocations: 39.03 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.3479, allocations: 28.34 kB / 0.5232 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.348, allocations: 322.9 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3481, allocations: 43.19 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3483, allocations: 49.41 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.3485, allocations: 112.3 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3485, allocations: 0.6094 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000303/0.3488, allocations: 150.5 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3489, allocations: 6.031 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3489, allocations: 3.938 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3489, allocations: 0.5156 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3491, allocations: 33.72 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3491, allocations: 5.094 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.3491, allocations: 4.547 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3491, allocations: 4.312 kB / 0.5239 GB, free: 15.45 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 (13): * Single equations (assignments): 13 * 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.0001337/0.3493, allocations: 135.3 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.3493, allocations: 14.69 kB / 0.5241 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.3497, allocations: 189.8 kB / 0.5242 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3498, allocations: 5.938 kB / 0.5242 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3498, allocations: 4.797 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3498, allocations: 2.641 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.3505, allocations: 0.4928 MB / 0.5247 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3505, allocations: 0 / 0.5247 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.3506, allocations: 25.03 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3506, allocations: 1.312 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3506, allocations: 6.453 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3506, allocations: 5.703 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3506, allocations: 0 / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.351, allocations: 263.8 kB / 0.525 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.351, allocations: 85.3 kB / 0.5251 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.351, allocations: 5.812 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.3511, allocations: 10.19 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.3512, allocations: 7.078 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3512, allocations: 8.969 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.3513, allocations: 172 kB / 0.5253 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3514, allocations: 0 / 0.5253 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3516, allocations: 32.8 kB / 0.5253 GB, free: 14.41 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 (13): * Single equations (assignments): 13 * 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.001648/0.3533, allocations: 1.132 MB / 0.5264 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.3536, allocations: 113.9 kB / 0.5265 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3536, allocations: 3.938 kB / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3538, allocations: 61.55 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.3542, allocations: 21.25 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.3566, allocations: 1.895 MB / 0.5285 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.357, allocations: 0.7193 MB / 0.5292 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3571, allocations: 29.97 kB / 0.5292 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.3572, allocations: 44.5 kB / 0.5293 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3572, allocations: 0 / 0.5293 GB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.377, allocations: 3.557 MB / 0.5327 GB, free: 9.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.927, allocations: 4 kB / 0.5327 GB, free: 9.609 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u[2],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time