Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001104/0.001104, 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.001143/0.001143, 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.361/1.361, 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.2162/0.2162, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.378, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002841/0.3809, allocations: 1.567 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3823, allocations: 1.019 MB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.3824, allocations: 1.406 kB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.3826, allocations: 23.41 kB / 0.521 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.3828, allocations: 41.73 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3831, allocations: 88.06 kB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.3832, allocations: 55.59 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3833, allocations: 12.56 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.3834, allocations: 26.17 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3835, allocations: 26.36 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3835, allocations: 2.25 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3837, allocations: 54.84 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.3837, allocations: 12.06 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.3837, allocations: 21.98 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3839, allocations: 96.33 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3839, allocations: 0 / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.384, allocations: 0 / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.384, allocations: 1.312 kB / 0.5214 GB, free: 1.266 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003828/0.3844, allocations: 378.3 kB / 0.5218 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3844, allocations: 9.875 kB / 0.5218 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.3844, allocations: 31.81 kB / 0.5218 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3845, allocations: 13.19 kB / 0.5218 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3846, allocations: 182 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3846, allocations: 1.562 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3847, allocations: 6.562 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3848, allocations: 64.16 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3848, allocations: 2.141 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3848, allocations: 0 / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3849, allocations: 1.312 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.3849, allocations: 24.7 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.3852, allocations: 269.6 kB / 0.5223 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.3854, allocations: 43.33 kB / 0.5224 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.3855, allocations: 18.3 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3855, allocations: 1.219 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3855, allocations: 36.23 kB / 0.5224 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3855, allocations: 0 / 0.5224 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005513/0.3861, allocations: 139.1 kB / 0.5226 GB, free: 128 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.3862, allocations: 82.91 kB / 0.5227 GB, free: 28 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3863, allocations: 130.1 kB / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3864, allocations: 30.83 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.3864, allocations: 93.44 kB / 0.5229 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3865, allocations: 23.2 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.3865, allocations: 14.72 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3866, allocations: 324.2 kB / 0.5232 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.3867, allocations: 17.38 kB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.123e-05/0.3868, allocations: 35.8 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3869, allocations: 54.7 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3869, allocations: 0 / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001797/0.3871, allocations: 76.41 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3871, allocations: 6 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3871, allocations: 0.75 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3872, allocations: 3.938 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.3872, allocations: 17.27 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3873, allocations: 4 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.3873, allocations: 5.156 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3873, allocations: 6.406 kB / 0.5235 GB, free: 15.33 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 (5): * Single equations (assignments): 5 * 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.669e-05/0.3874, allocations: 117 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.3874, allocations: 8.516 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.3877, allocations: 87.84 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3877, allocations: 1.438 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3877, allocations: 4.516 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3877, allocations: 0 / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.3882, allocations: 346.7 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3882, allocations: 1.875 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.3883, allocations: 11.61 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3883, allocations: 1.625 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3883, allocations: 4.188 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3883, allocations: 8.641 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3883, allocations: 5.406 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3885, allocations: 176.6 kB / 0.5242 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.3886, allocations: 79.12 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3886, allocations: 2.25 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.3887, allocations: 8.281 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.3887, allocations: 3.422 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.3887, allocations: 5.469 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.583e-05/0.3888, allocations: 104 kB / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3888, allocations: 0 / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3891, allocations: 25.53 kB / 0.5244 GB, free: 14.46 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 (5): * Single equations (assignments): 5 * 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.001495/0.3906, allocations: 1.048 MB / 0.5254 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.3908, allocations: 48.55 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3908, allocations: 0 / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.3909, allocations: 32.97 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3913, allocations: 17.39 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.393, allocations: 1.377 MB / 0.5269 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3933, allocations: 0.6919 MB / 0.5276 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.958e-05/0.3934, allocations: 11.72 kB / 0.5276 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.3934, allocations: 24.48 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3934, allocations: 0 / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.4155, allocations: 2.767 MB / 0.5303 GB, free: 10.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.077, allocations: 14.2 kB / 0.5303 GB, free: 10.54 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time