Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001187/0.001187, 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.001067/0.001067, 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2038/0.2038, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3224, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002887/0.3253, allocations: 1.577 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006632/0.326, allocations: 413.9 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.3261, allocations: 1.156 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.3263, allocations: 77.33 kB / 0.5205 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.3266, allocations: 62.97 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3269, allocations: 116 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3271, allocations: 69.55 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3272, allocations: 18.94 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.3273, allocations: 34.12 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.3275, allocations: 58.83 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.3275, allocations: 3.594 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3276, allocations: 43.16 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.3277, allocations: 19.27 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.3277, allocations: 38.28 kB / 0.5209 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.328, allocations: 97.91 kB / 0.521 GB, free: 1.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.328, allocations: 0 / 0.521 GB, free: 1.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.328, allocations: 1.031 kB / 0.521 GB, free: 1.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.328, allocations: 4.641 kB / 0.521 GB, free: 1.664 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.0004732/0.3285, allocations: 407.2 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3286, allocations: 14.38 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.3286, allocations: 32.66 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3286, allocations: 9.219 kB / 0.5214 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3288, allocations: 198.2 kB / 0.5216 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3288, allocations: 1.344 kB / 0.5216 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3288, allocations: 10.98 kB / 0.5216 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.329, allocations: 49.5 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.329, allocations: 3.906 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.329, allocations: 5.922 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.329, allocations: 5.094 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3291, allocations: 25.22 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.3295, allocations: 301.6 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3296, allocations: 48.38 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.3297, allocations: 16.17 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.3297, allocations: 5.375 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.3297, allocations: 35.12 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3297, allocations: 1.219 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009145/0.3307, allocations: 237.5 kB / 0.5223 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.3307, allocations: 60.53 kB / 0.5224 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3309, allocations: 211.7 kB / 0.5226 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3309, allocations: 25.7 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.331, allocations: 113 kB / 0.5227 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.331, allocations: 21.27 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.3311, allocations: 25.02 kB / 0.5228 GB, free: 80 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3312, allocations: 321.6 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.3313, allocations: 34.42 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.3314, allocations: 27.42 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.3316, allocations: 75.14 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3316, allocations: 1.344 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002252/0.3318, allocations: 112.5 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3318, allocations: 8.969 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3318, allocations: 5.438 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3319, allocations: 0 / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.332, allocations: 16.47 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.332, allocations: 5.406 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.332, allocations: 4.734 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.332, allocations: 7.625 kB / 0.5234 GB, free: 15.64 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 9.226e-05/0.3321, allocations: 126.7 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.3322, allocations: 10.27 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.3325, allocations: 130.6 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.3325, allocations: 1.719 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3325, allocations: 3.938 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3325, allocations: 0.6562 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.3331, allocations: 415.5 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3331, allocations: 5.781 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.3332, allocations: 24.36 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3332, allocations: 1.281 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3332, allocations: 2.125 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3332, allocations: 1.266 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3332, allocations: 4.734 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.3335, allocations: 217.9 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.3336, allocations: 88.83 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3336, allocations: 1.906 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.3337, allocations: 9.641 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.3337, allocations: 13.03 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.3337, allocations: 2.406 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3339, allocations: 156.3 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3339, allocations: 0 / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.3342, allocations: 16.92 kB / 0.5246 GB, free: 14.7 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.001616/0.3358, allocations: 1.095 MB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.3361, allocations: 73.58 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3361, allocations: 0 / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.3362, allocations: 44.39 kB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3366, allocations: 27.95 kB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3388, allocations: 1.676 MB / 0.5274 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3392, allocations: 0.7178 MB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.653e-05/0.3393, allocations: 24.38 kB / 0.5281 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.3393, allocations: 33.38 kB / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3393, allocations: 0 / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.3605, allocations: 3.092 MB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.814, allocations: 10.2 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),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.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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time