Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.00128/0.00128, allocations: 105.5 kB / 17.78 MB, free: 5.312 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.001287/0.001288, allocations: 188 kB / 18.71 MB, free: 4.387 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.431/1.431, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2397/0.2397, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 71.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4924, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003218/0.4957, allocations: 1.705 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.4978, allocations: 1.48 MB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.4979, allocations: 1.156 kB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.4983, allocations: 40.62 kB / 0.5217 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.4985, allocations: 68.06 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.4989, allocations: 109 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.4991, allocations: 92.27 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.4992, allocations: 12.17 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4994, allocations: 46.44 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.4996, allocations: 39.14 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.4996, allocations: 4.719 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.4998, allocations: 58.09 kB / 0.5221 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.4998, allocations: 23.73 kB / 0.5221 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.4999, allocations: 34.17 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.5002, allocations: 119 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5002, allocations: 0.6562 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5002, allocations: 5.156 kB / 0.5222 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.5003, allocations: 0 / 0.5222 GB, free: 0.7422 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.000602/0.5009, allocations: 401.2 kB / 0.5226 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5009, allocations: 8.938 kB / 0.5226 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.501, allocations: 38.17 kB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.501, allocations: 12.22 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.5013, allocations: 202.4 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.5013, allocations: 9.375 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.5013, allocations: 11.47 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.5015, allocations: 70.12 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5016, allocations: 0.5625 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5016, allocations: 1.125 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5016, allocations: 0 / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.5017, allocations: 22.91 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.5021, allocations: 283.8 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.5023, allocations: 65.47 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.5024, allocations: 18.97 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.5024, allocations: 5.031 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.5026, allocations: 66.8 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.5026, allocations: 0 / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.5032, allocations: 166.7 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.5033, allocations: 80.05 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.5034, allocations: 157.6 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5035, allocations: 26.89 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.5035, allocations: 97.91 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.5036, allocations: 25.36 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.5036, allocations: 26.56 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.5038, allocations: 321.8 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.5039, allocations: 16.33 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.392e-05/0.504, allocations: 46.38 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.5041, allocations: 61.38 kB / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5041, allocations: 1.562 kB / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.5043, allocations: 99.78 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5043, allocations: 6 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5043, allocations: 3.984 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5044, allocations: 1.5 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.5045, allocations: 19.08 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5045, allocations: 1.344 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.5046, allocations: 10.81 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.5046, allocations: 4 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.0001178/0.5047, allocations: 128.1 kB / 0.5246 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.5047, allocations: 10.12 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.5048, allocations: 18.02 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5048, allocations: 192 / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5048, allocations: 5.812 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5048, allocations: 7.875 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.5053, allocations: 388.9 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5053, allocations: 0.6094 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.5054, allocations: 10.12 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5054, allocations: 4.312 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.5054, allocations: 6.078 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.5054, allocations: 5.5 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5054, allocations: 1.984 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.5057, allocations: 203.6 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.5058, allocations: 81.08 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.5058, allocations: 9.922 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.5059, allocations: 3.562 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.506, allocations: 5.5 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.506, allocations: 4.547 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.5061, allocations: 120.8 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5061, allocations: 5.125 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.5065, allocations: 34.48 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.001981/0.5084, allocations: 1.131 MB / 0.5266 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.5087, allocations: 60.8 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5087, allocations: 0 / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.5088, allocations: 29.34 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.0003708/0.5092, allocations: 32.94 kB / 0.5268 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.5111, allocations: 1.547 MB / 0.5283 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.5114, allocations: 0.6994 MB / 0.5289 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.5115, allocations: 14.31 kB / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.5116, allocations: 34.17 kB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5116, allocations: 0 / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.5413, allocations: 3.596 MB / 0.5325 GB, free: 9.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/8.003, allocations: 5.656 kB / 0.5325 GB, free: 9.18 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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