Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.001157/0.001157, allocations: 106.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.001174/0.001173, allocations: 187.1 kB / 18.7 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2602/0.2602, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4527, allocations: 60.82 MB / 0.5184 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003266/0.456, allocations: 1.587 MB / 0.52 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.4569, allocations: 405.9 kB / 0.5204 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.457, allocations: 0.9688 kB / 0.5204 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.4574, allocations: 96.72 kB / 0.5205 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.4577, allocations: 66.53 kB / 0.5205 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.4581, allocations: 86.02 kB / 0.5206 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.4583, allocations: 75.41 kB / 0.5207 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.4585, allocations: 18.3 kB / 0.5207 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.4586, allocations: 38.62 kB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4587, allocations: 54.27 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.4587, allocations: 2.156 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.4588, allocations: 43.98 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.4589, allocations: 19.88 kB / 0.5209 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.459, allocations: 30.36 kB / 0.5209 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.4592, allocations: 108.7 kB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4592, allocations: 0 / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4592, allocations: 0 / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4592, allocations: 4 kB / 0.521 GB, free: 1.551 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.0005329/0.4598, allocations: 413.3 kB / 0.5214 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4598, allocations: 14.03 kB / 0.5214 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.4599, allocations: 36.56 kB / 0.5214 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.4599, allocations: 14.27 kB / 0.5215 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.4601, allocations: 198.7 kB / 0.5216 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4601, allocations: 1.812 kB / 0.5216 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.4602, allocations: 10.25 kB / 0.5217 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4603, allocations: 57.27 kB / 0.5217 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4603, allocations: 0 / 0.5217 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.4604, allocations: 1.062 kB / 0.5217 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4604, allocations: 1.781 kB / 0.5217 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.4605, allocations: 25.22 kB / 0.5217 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.4609, allocations: 291.1 kB / 0.522 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.461, allocations: 50.67 kB / 0.5221 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.4611, allocations: 18.45 kB / 0.5221 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.4611, allocations: 1.703 kB / 0.5221 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.4611, allocations: 32.12 kB / 0.5221 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4612, allocations: 0 / 0.5221 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009991/0.4622, allocations: 236.3 kB / 0.5223 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4622, allocations: 55.34 kB / 0.5224 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.4625, allocations: 225.3 kB / 0.5226 GB, free: 136 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4625, allocations: 30.55 kB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.4626, allocations: 105.3 kB / 0.5227 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.4626, allocations: 26.41 kB / 0.5228 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.4627, allocations: 23.69 kB / 0.5228 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4628, allocations: 327.7 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.4629, allocations: 21.52 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.46e-05/0.463, allocations: 23.08 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.4632, allocations: 59.14 kB / 0.5232 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4632, allocations: 0 / 0.5232 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002394/0.4635, allocations: 106.4 kB / 0.5233 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4635, allocations: 4.812 kB / 0.5233 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4635, allocations: 3.938 kB / 0.5233 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4635, allocations: 2.094 kB / 0.5233 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4636, allocations: 19.95 kB / 0.5233 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4637, allocations: 5.984 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.4637, allocations: 8 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.4637, allocations: 2.688 kB / 0.5233 GB, free: 15.53 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 0.0001185/0.4639, allocations: 128.9 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.4639, allocations: 10.34 kB / 0.5235 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.4642, allocations: 126.6 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4642, allocations: 1.156 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4642, allocations: 7.875 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.4642, allocations: 1.672 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.4648, allocations: 402.2 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4648, allocations: 4.969 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.4649, allocations: 17.59 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4649, allocations: 0 / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4649, allocations: 7.156 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4649, allocations: 80 / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4649, allocations: 5.328 kB / 0.524 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4652, allocations: 210.5 kB / 0.5242 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.4653, allocations: 89.27 kB / 0.5243 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4653, allocations: 1.953 kB / 0.5243 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.4654, allocations: 4.594 kB / 0.5243 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.4654, allocations: 13.81 kB / 0.5243 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.4654, allocations: 4.094 kB / 0.5243 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.4656, allocations: 176 kB / 0.5245 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4656, allocations: 1.25 kB / 0.5245 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.4659, allocations: 18.94 kB / 0.5245 GB, free: 14.56 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.001601/0.4675, allocations: 1.085 MB / 0.5256 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.4677, allocations: 61.19 kB / 0.5256 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4678, allocations: 0 / 0.5256 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.4679, allocations: 46.3 kB / 0.5257 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4683, allocations: 25.05 kB / 0.5257 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.4704, allocations: 1.668 MB / 0.5273 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.4708, allocations: 0.7125 MB / 0.528 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.4709, allocations: 13.86 kB / 0.528 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.4709, allocations: 32.73 kB / 0.5281 GB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.471, allocations: 0 / 0.5281 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.4947, allocations: 3.124 MB / 0.5311 GB, free: 10.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.21, allocations: 9.75 kB / 0.5311 GB, free: 10.29 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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[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],time