Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001065/0.001065, 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.001087/0.001087, 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.42/1.42, 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.2344/0.2344, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.91 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4801, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003389/0.4836, allocations: 1.706 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.4859, allocations: 1.485 MB / 0.5216 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.4861, allocations: 1.125 kB / 0.5216 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.4864, allocations: 40.83 kB / 0.5217 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.4867, allocations: 57.98 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.4871, allocations: 109.9 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.4873, allocations: 97.34 kB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.4874, allocations: 7.312 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.4875, allocations: 45.91 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.4877, allocations: 39.52 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.4877, allocations: 9.297 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.4879, allocations: 57.94 kB / 0.5221 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.4879, allocations: 19.69 kB / 0.5221 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.488, allocations: 33.2 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.4883, allocations: 120.4 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4883, allocations: 0 / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4883, allocations: 0 / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.4883, allocations: 1.188 kB / 0.5222 GB, free: 0.7461 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005673/0.4889, allocations: 409 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.4889, allocations: 10.11 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.489, allocations: 32.7 kB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.489, allocations: 8.875 kB / 0.5227 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4893, allocations: 209.9 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4894, allocations: 5.188 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.4894, allocations: 11.39 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.4896, allocations: 66.25 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4896, allocations: 9.125 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4896, allocations: 0.7031 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4896, allocations: 1.062 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.4897, allocations: 22.02 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.4901, allocations: 280.7 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.4904, allocations: 60.2 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.4904, allocations: 23.94 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4905, allocations: 6.031 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.4906, allocations: 69.47 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4906, allocations: 0 / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.4912, allocations: 171.3 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.4913, allocations: 78.97 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.4915, allocations: 153.8 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4915, allocations: 30.73 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.4916, allocations: 97.55 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.4917, allocations: 26.61 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.4917, allocations: 22.59 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4919, allocations: 320.3 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.4919, allocations: 21.91 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.492, allocations: 45.41 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.4922, allocations: 61.55 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4922, allocations: 0.9062 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000212/0.4924, allocations: 104.4 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4924, allocations: 5.312 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4925, allocations: 1.984 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.4925, allocations: 1.094 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4926, allocations: 15.12 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4926, allocations: 1.812 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.4927, allocations: 10.86 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.4927, allocations: 7.859 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001137/0.4928, allocations: 116.5 kB / 0.5246 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4928, allocations: 13.81 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.4929, allocations: 13.47 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4929, allocations: 2.844 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4929, allocations: 3.938 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4929, allocations: 8.672 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.4935, allocations: 391.8 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4935, allocations: 0 / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.4935, allocations: 9.266 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.4935, allocations: 5.031 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.4936, allocations: 3.219 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4936, allocations: 0.7969 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4936, allocations: 5.188 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.4939, allocations: 205 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.494, allocations: 79.12 kB / 0.5253 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.494, allocations: 7.562 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.4941, allocations: 6.828 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.4941, allocations: 10.39 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.4942, allocations: 3.641 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.4943, allocations: 115.6 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4943, allocations: 0 / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.4947, allocations: 38.5 kB / 0.5255 GB, free: 13.77 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002096/0.4968, allocations: 1.13 MB / 0.5266 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.497, allocations: 57.44 kB / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4971, allocations: 4.062 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.4972, allocations: 32.39 kB / 0.5267 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4976, allocations: 31.94 kB / 0.5267 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.4996, allocations: 1.548 MB / 0.5283 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4999, allocations: 0.6991 MB / 0.5289 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.096e-05/0.5, allocations: 19.91 kB / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.5001, allocations: 32.94 kB / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5001, allocations: 1.375 kB / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.5252, allocations: 3.6 MB / 0.5325 GB, free: 9.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/8.136, allocations: 8.188 kB / 0.5325 GB, free: 9.176 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time