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.001188/0.001188, 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.001205/0.001205, 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.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2042/0.2042, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3702, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00272/0.373, allocations: 1.621 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.3737, allocations: 411.7 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.3738, allocations: 1.188 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.3741, allocations: 101 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.3743, allocations: 71.52 kB / 0.5206 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.3747, allocations: 95.05 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3748, allocations: 87.06 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3749, allocations: 24.16 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.375, allocations: 41 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3751, allocations: 61.19 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3752, allocations: 9.031 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.3753, allocations: 43.97 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.3753, allocations: 31.14 kB / 0.521 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.3754, allocations: 36.22 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.3756, allocations: 118 kB / 0.5211 GB, free: 1.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3756, allocations: 0 / 0.5211 GB, free: 1.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3756, allocations: 5.156 kB / 0.5211 GB, free: 1.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3756, allocations: 0 / 0.5211 GB, free: 1.633 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.0004368/0.376, allocations: 428.1 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3761, allocations: 9.406 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.3761, allocations: 38.64 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3762, allocations: 14.22 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3763, allocations: 204.2 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3763, allocations: 7.562 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3764, allocations: 4.609 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3765, allocations: 75.11 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3765, allocations: 0 / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3766, allocations: 9.156 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3766, allocations: 1 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3767, allocations: 43.38 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.377, allocations: 327 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3772, allocations: 64.42 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.3772, allocations: 27.16 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3773, allocations: 1.156 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.3773, allocations: 32.16 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3773, allocations: 0 / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009695/0.3783, allocations: 307.2 kB / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.3783, allocations: 54.39 kB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3785, allocations: 231.7 kB / 0.5229 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3785, allocations: 27.55 kB / 0.5229 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.3786, allocations: 109.2 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.3786, allocations: 45.47 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.3787, allocations: 29.09 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3788, allocations: 331.3 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.3789, allocations: 41.3 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.379, allocations: 43.19 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.3792, allocations: 89.06 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.3792, allocations: 1.5 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002586/0.3795, allocations: 133.2 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3795, allocations: 9.266 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3795, allocations: 1.094 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3796, allocations: 5.203 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3797, allocations: 33.56 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3797, allocations: 0 / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.3798, allocations: 9.703 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3798, allocations: 3.625 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.0001084/0.3799, allocations: 129.9 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.3799, allocations: 15.27 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.3803, allocations: 167.2 kB / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3803, allocations: 2.188 kB / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3803, allocations: 0 / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3803, allocations: 0.75 kB / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.3809, allocations: 474 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3809, allocations: 0.8438 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.381, allocations: 27.83 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.381, allocations: 1.781 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.381, allocations: 2.406 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.381, allocations: 1.844 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.381, allocations: 0.75 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.3813, allocations: 256 kB / 0.5248 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.3814, allocations: 89.47 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3814, allocations: 4.562 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.3815, allocations: 9.875 kB / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.3816, allocations: 15.09 kB / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3816, allocations: 3.812 kB / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.3817, allocations: 169.1 kB / 0.5251 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3817, allocations: 7.938 kB / 0.5251 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.382, allocations: 24.61 kB / 0.5251 GB, free: 14.46 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.001485/0.3835, allocations: 1.124 MB / 0.5262 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.3838, allocations: 98.17 kB / 0.5263 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3838, allocations: 1.125 kB / 0.5263 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3839, allocations: 59.02 kB / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.3843, allocations: 14.45 kB / 0.5264 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3865, allocations: 1.821 MB / 0.5282 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3868, allocations: 0.7167 MB / 0.5289 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.014e-05/0.3868, allocations: 18.59 kB / 0.5289 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.3869, allocations: 43.95 kB / 0.5289 GB, free: 11.44 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3869, allocations: 0 / 0.5289 GB, free: 11.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.4067, allocations: 3.462 MB / 0.5323 GB, free: 9.812 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.142, allocations: 8.344 kB / 0.5323 GB, free: 9.812 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