Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.00151/0.00151, 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.001799/0.001799, 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.445/1.445, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2309/0.2309, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4623, allocations: 60.82 MB / 0.5184 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003432/0.4658, allocations: 1.567 MB / 0.52 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.4673, allocations: 1.015 MB / 0.521 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.4673, allocations: 1.094 kB / 0.521 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.4676, allocations: 24.03 kB / 0.521 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.4678, allocations: 41.84 kB / 0.521 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.4681, allocations: 87.67 kB / 0.5211 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.4683, allocations: 59.95 kB / 0.5212 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.4684, allocations: 8.125 kB / 0.5212 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.4684, allocations: 23.16 kB / 0.5212 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.4686, allocations: 29.12 kB / 0.5212 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.4686, allocations: 3.531 kB / 0.5212 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.4687, allocations: 53.09 kB / 0.5213 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.4688, allocations: 16.62 kB / 0.5213 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.4688, allocations: 22.39 kB / 0.5213 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.469, allocations: 87.64 kB / 0.5214 GB, free: 1.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4691, allocations: 0 / 0.5214 GB, free: 1.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4691, allocations: 1.062 kB / 0.5214 GB, free: 1.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.4691, allocations: 0 / 0.5214 GB, free: 1.152 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.0004403/0.4695, allocations: 375.8 kB / 0.5218 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4696, allocations: 13.59 kB / 0.5218 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.4696, allocations: 35.5 kB / 0.5218 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.4696, allocations: 16.34 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.4698, allocations: 182.5 kB / 0.522 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4698, allocations: 1.781 kB / 0.522 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.4699, allocations: 1.781 kB / 0.522 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.47, allocations: 65.58 kB / 0.5221 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.47, allocations: 0 / 0.5221 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.47, allocations: 1.625 kB / 0.5221 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4701, allocations: 4 kB / 0.5221 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.4702, allocations: 30.77 kB / 0.5221 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.4705, allocations: 272.5 kB / 0.5224 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.4707, allocations: 40.55 kB / 0.5224 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.4708, allocations: 16.98 kB / 0.5224 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4708, allocations: 1.75 kB / 0.5224 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4708, allocations: 36.3 kB / 0.5224 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4708, allocations: 3.938 kB / 0.5224 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005617/0.4714, allocations: 135.1 kB / 0.5226 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.4715, allocations: 77.62 kB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4717, allocations: 139.2 kB / 0.5228 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4717, allocations: 26.94 kB / 0.5228 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.4718, allocations: 96.23 kB / 0.5229 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.4718, allocations: 15.78 kB / 0.5229 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.4718, allocations: 19.3 kB / 0.5229 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.472, allocations: 323.6 kB / 0.5232 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.4721, allocations: 18.8 kB / 0.5233 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.4722, allocations: 30.73 kB / 0.5233 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.4723, allocations: 46.73 kB / 0.5233 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4723, allocations: 0 / 0.5233 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.4725, allocations: 80.91 kB / 0.5234 GB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4726, allocations: 10.17 kB / 0.5234 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4726, allocations: 0 / 0.5234 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4726, allocations: 1.156 kB / 0.5234 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.4727, allocations: 11.44 kB / 0.5234 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.4727, allocations: 13.7 kB / 0.5234 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.4727, allocations: 4.922 kB / 0.5235 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.4727, allocations: 9.016 kB / 0.5235 GB, free: 15.2 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.56e-05/0.4728, allocations: 114.1 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.4729, allocations: 7.719 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.4731, allocations: 89.47 kB / 0.5237 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4731, allocations: 4.938 kB / 0.5237 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4732, allocations: 8.062 kB / 0.5237 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4732, allocations: 0.7969 kB / 0.5237 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.4736, allocations: 342.9 kB / 0.524 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4736, allocations: 0 / 0.524 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.4737, allocations: 12.72 kB / 0.524 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4737, allocations: 0 / 0.524 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.4737, allocations: 2.172 kB / 0.524 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4737, allocations: 3.938 kB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4738, allocations: 5.062 kB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.474, allocations: 176.3 kB / 0.5242 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.4741, allocations: 80.44 kB / 0.5243 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.4741, allocations: 1.062 kB / 0.5243 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.4742, allocations: 13.2 kB / 0.5243 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.4742, allocations: 3.438 kB / 0.5243 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.4742, allocations: 5.5 kB / 0.5243 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.4743, allocations: 103.5 kB / 0.5244 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4743, allocations: 0 / 0.5244 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.4746, allocations: 24.27 kB / 0.5244 GB, free: 14.34 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.001545/0.4762, allocations: 1.047 MB / 0.5254 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.4764, allocations: 45.41 kB / 0.5255 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4764, allocations: 0 / 0.5255 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.4765, allocations: 32.05 kB / 0.5255 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.4769, allocations: 25.55 kB / 0.5255 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.4786, allocations: 1.381 MB / 0.5269 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.479, allocations: 0.6912 MB / 0.5276 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.4791, allocations: 20.31 kB / 0.5276 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.4791, allocations: 24.44 kB / 0.5276 GB, free: 11.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4791, allocations: 0 / 0.5276 GB, free: 11.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.5042, allocations: 2.757 MB / 0.5303 GB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.175, allocations: 5.359 kB / 0.5303 GB, free: 10.43 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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