Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14",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.001579/0.001578, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.002008/0.002009, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.486/1.486, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2376/0.2376, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3422, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003463/0.3457, allocations: 1.629 MB / 0.52 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3472, allocations: 1.033 MB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.3473, allocations: 1.031 kB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.3475, allocations: 24.23 kB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.3478, allocations: 49.27 kB / 0.5211 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3481, allocations: 129.4 kB / 0.5212 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3483, allocations: 60.92 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.3484, allocations: 21.89 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.3484, allocations: 21 kB / 0.5213 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3486, allocations: 34.19 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3486, allocations: 9.062 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3487, allocations: 47.44 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.3488, allocations: 14.75 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.3488, allocations: 27.7 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.3491, allocations: 102.5 kB / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3491, allocations: 4.969 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3491, allocations: 0 / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3492, allocations: 0 / 0.5216 GB, free: 1.164 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.0005343/0.3497, allocations: 385.4 kB / 0.5219 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.3498, allocations: 9.938 kB / 0.5219 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.3498, allocations: 40.52 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.3499, allocations: 9 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.3501, allocations: 199.5 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3501, allocations: 1.531 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.3501, allocations: 14.56 kB / 0.5222 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3503, allocations: 68.53 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3503, allocations: 1.094 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3503, allocations: 0 / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3503, allocations: 5.031 kB / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3505, allocations: 37.17 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.3508, allocations: 287 kB / 0.5226 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.3509, allocations: 44.95 kB / 0.5226 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.351, allocations: 23.41 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.351, allocations: 1.062 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3511, allocations: 40.38 kB / 0.5227 GB, free: 60 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3511, allocations: 0 / 0.5227 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007881/0.3519, allocations: 206.8 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3519, allocations: 78.36 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3521, allocations: 144.4 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3521, allocations: 25.7 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.3521, allocations: 97.5 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.3522, allocations: 25.34 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.3522, allocations: 20.94 kB / 0.5232 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.3523, allocations: 320.1 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.3525, allocations: 28.42 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.3526, allocations: 55.53 kB / 0.5236 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3528, allocations: 72.67 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3529, allocations: 0.6094 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003134/0.3532, allocations: 125.3 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3532, allocations: 5.344 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3532, allocations: 0 / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3532, allocations: 1.656 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3534, allocations: 19.23 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3534, allocations: 4.781 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.3535, allocations: 9.906 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3535, allocations: 1.75 kB / 0.5239 GB, free: 15.16 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 (7): * Single equations (assignments): 7 * 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.346e-05/0.3536, allocations: 120.3 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.3536, allocations: 8.25 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.354, allocations: 122 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.354, allocations: 5.797 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.354, allocations: 4.969 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.354, allocations: 0.75 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.3545, allocations: 391.5 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3546, allocations: 2.172 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/0.3546, allocations: 25.53 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3547, allocations: 6 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3547, allocations: 0 / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3547, allocations: 1.406 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3547, allocations: 0.5625 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.355, allocations: 206.6 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.3551, allocations: 84.83 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3551, allocations: 5.844 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3552, allocations: 13.39 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3552, allocations: 5.188 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.3553, allocations: 6.219 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.397e-05/0.3554, allocations: 106 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3554, allocations: 3.938 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.3556, allocations: 23.44 kB / 0.525 GB, free: 14.26 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 (7): * Single equations (assignments): 7 * 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.001411/0.3571, allocations: 1.094 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.3574, allocations: 86.53 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3574, allocations: 0 / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3575, allocations: 40.61 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3579, allocations: 14.92 kB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3598, allocations: 1.524 MB / 0.5276 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.36, allocations: 0.6955 MB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.638e-05/0.3601, allocations: 19.19 kB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.3602, allocations: 33.22 kB / 0.5284 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3602, allocations: 1.875 kB / 0.5284 GB, free: 11.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.384, allocations: 3.065 MB / 0.5314 GB, free: 9.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.946, allocations: 15.55 kB / 0.5314 GB, free: 9.941 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time