Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001285/0.001285, 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.00122/0.00122, 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.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2136/0.2136, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4103, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003254/0.4136, allocations: 1.582 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007651/0.4144, allocations: 414.7 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.4145, allocations: 1.281 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.4148, allocations: 96.41 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.415, allocations: 70.66 kB / 0.5206 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.4153, allocations: 104.5 kB / 0.5207 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.4155, allocations: 80.14 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4156, allocations: 15.19 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.4157, allocations: 38.91 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4158, allocations: 53.92 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.4158, allocations: 3.375 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.4159, allocations: 42.95 kB / 0.5209 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.416, allocations: 24.03 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.4161, allocations: 34.48 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.4163, allocations: 105.8 kB / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4163, allocations: 0 / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4163, allocations: 3.938 kB / 0.521 GB, free: 1.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4163, allocations: 1.594 kB / 0.521 GB, free: 1.648 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.0004627/0.4168, allocations: 408.1 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4168, allocations: 10.92 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.4169, allocations: 36.58 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.4169, allocations: 14.03 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.4171, allocations: 207.6 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4172, allocations: 1.344 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.4172, allocations: 6.844 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.4174, allocations: 53.47 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.4174, allocations: 0 / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4174, allocations: 1.094 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.4174, allocations: 1.906 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4175, allocations: 25.86 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.418, allocations: 310 kB / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.4181, allocations: 40.83 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.4182, allocations: 19.3 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.4182, allocations: 1.891 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.4183, allocations: 32.42 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.4183, allocations: 4 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001014/0.4193, allocations: 239.6 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.4194, allocations: 60.69 kB / 0.5224 GB, free: 380 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.4196, allocations: 229.2 kB / 0.5227 GB, free: 236 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.4196, allocations: 29.7 kB / 0.5227 GB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.4197, allocations: 105.6 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.4197, allocations: 25.12 kB / 0.5228 GB, free: 80 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.4198, allocations: 26.08 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002604/0.42, allocations: 323.2 kB / 0.5231 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.4201, allocations: 28.77 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.4202, allocations: 31.94 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.4204, allocations: 75.16 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4204, allocations: 0 / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002392/0.4207, allocations: 113.3 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4207, allocations: 14.11 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4207, allocations: 0 / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4207, allocations: 1.062 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4209, allocations: 24.55 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4209, allocations: 9 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.4209, allocations: 5.297 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4209, allocations: 6.859 kB / 0.5234 GB, free: 15.61 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.0001005/0.4211, allocations: 125 kB / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.4211, allocations: 10.59 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.4214, allocations: 141.1 kB / 0.5237 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4214, allocations: 0 / 0.5237 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4214, allocations: 8.547 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4214, allocations: 0.7969 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.4221, allocations: 414.1 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4221, allocations: 5.719 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.4222, allocations: 16.81 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4222, allocations: 1.344 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.4223, allocations: 2.406 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4223, allocations: 4.031 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4223, allocations: 1.359 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.4227, allocations: 217.2 kB / 0.5243 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.4227, allocations: 88.62 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.4228, allocations: 6.219 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.4228, allocations: 9.75 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.4229, allocations: 6.016 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.4229, allocations: 2.094 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.4231, allocations: 173.8 kB / 0.5246 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4231, allocations: 0 / 0.5246 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.4234, allocations: 20.31 kB / 0.5246 GB, free: 14.65 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.001584/0.425, allocations: 1.1 MB / 0.5257 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.4252, allocations: 77 kB / 0.5258 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4252, allocations: 0 / 0.5258 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.4253, allocations: 41.72 kB / 0.5258 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4257, allocations: 23 kB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4279, allocations: 1.715 MB / 0.5275 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.4283, allocations: 0.7155 MB / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.083e-05/0.4284, allocations: 24.8 kB / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.4285, allocations: 33.02 kB / 0.5283 GB, free: 11.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.244e-06/0.4285, allocations: 4 kB / 0.5283 GB, free: 11.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.4491, allocations: 3.171 MB / 0.5314 GB, free: 10.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/7.95, allocations: 5.047 kB / 0.5314 GB, free: 10.27 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time