Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001235/0.00124, 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.001142/0.001142, allocations: 187.1 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.449/1.449, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2264/0.2264, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 71.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4356, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003952/0.4396, allocations: 1.621 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.4405, allocations: 412.6 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.4406, allocations: 1.281 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.4411, allocations: 88.72 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.4414, allocations: 74.73 kB / 0.5206 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.4418, allocations: 95.03 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.442, allocations: 87.5 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.4422, allocations: 27.89 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.4423, allocations: 38.14 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.4424, allocations: 55.98 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.4424, allocations: 4.531 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.4426, allocations: 49.08 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.4426, allocations: 35 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.4427, allocations: 31.72 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.443, allocations: 117.9 kB / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.443, allocations: 1.469 kB / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.443, allocations: 3.938 kB / 0.5211 GB, free: 1.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.443, allocations: 0 / 0.5211 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004668/0.4435, allocations: 432.4 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4435, allocations: 13.38 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.4435, allocations: 33.09 kB / 0.5216 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.4436, allocations: 15.47 kB / 0.5216 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.4438, allocations: 213.1 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4438, allocations: 2.938 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4438, allocations: 7.797 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.444, allocations: 66.84 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.444, allocations: 5.656 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4441, allocations: 4 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.4441, allocations: 1.531 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.4442, allocations: 48.41 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.4446, allocations: 317.9 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.4448, allocations: 63.86 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.4449, allocations: 27.34 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.4449, allocations: 1.766 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.445, allocations: 36.28 kB / 0.5223 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.445, allocations: 0 / 0.5223 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001174/0.4461, allocations: 307.5 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.4462, allocations: 53.62 kB / 0.5227 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.4465, allocations: 228.4 kB / 0.5229 GB, free: 140 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4465, allocations: 26.86 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.4465, allocations: 111 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/0.4466, allocations: 43.62 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.4467, allocations: 36.67 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4469, allocations: 328 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.447, allocations: 37.47 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.873e-05/0.4471, allocations: 42.11 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.4473, allocations: 86.55 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4473, allocations: 0 / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002617/0.4476, allocations: 139 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4476, allocations: 5.719 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4476, allocations: 0 / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4476, allocations: 6.141 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4478, allocations: 35.7 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4478, allocations: 2.078 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.4478, allocations: 5.734 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4478, allocations: 3.484 kB / 0.5238 GB, free: 15.47 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.0001235/0.448, allocations: 133.4 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.448, allocations: 11.25 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.4484, allocations: 166.8 kB / 0.5241 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4484, allocations: 1.5 kB / 0.5241 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4484, allocations: 4.688 kB / 0.5241 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4484, allocations: 4.547 kB / 0.5241 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000646/0.4491, allocations: 473.1 kB / 0.5245 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4491, allocations: 1.094 kB / 0.5245 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.713e-05/0.4492, allocations: 28.97 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4492, allocations: 1.156 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4492, allocations: 11.06 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.4492, allocations: 5.328 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4493, allocations: 0.6094 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.4496, allocations: 254.9 kB / 0.5248 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.4497, allocations: 89.83 kB / 0.5249 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4497, allocations: 2.281 kB / 0.5249 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.4498, allocations: 9 kB / 0.5249 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.4498, allocations: 9.656 kB / 0.5249 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4498, allocations: 3.328 kB / 0.5249 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.45, allocations: 170.8 kB / 0.5251 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.45, allocations: 5.125 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.4503, allocations: 23.41 kB / 0.5251 GB, free: 14.45 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.001592/0.4519, allocations: 1.122 MB / 0.5262 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.4522, allocations: 97.64 kB / 0.5263 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4522, allocations: 0 / 0.5263 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4523, allocations: 60 kB / 0.5264 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.4527, allocations: 18.92 kB / 0.5264 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.455, allocations: 1.817 MB / 0.5282 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.4554, allocations: 0.7201 MB / 0.5289 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.233e-05/0.4555, allocations: 16.95 kB / 0.5289 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.4556, allocations: 40.33 kB / 0.5289 GB, free: 11.43 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4556, allocations: 0 / 0.5289 GB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.4809, allocations: 3.457 MB / 0.5323 GB, free: 9.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/8.236, allocations: 1.219 kB / 0.5323 GB, free: 9.82 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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(clock.y),der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(clock.y)),t_new.columns[1],t_new.columns[2],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[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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time