Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.00148/0.00148, allocations: 114.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.001694/0.001694, allocations: 187 kB / 18.71 MB, free: 4.363 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.469/1.469, 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.246/0.246, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 63.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4762, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002797/0.4791, allocations: 1.704 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.481, allocations: 1.485 MB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.481, allocations: 1.062 kB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.4813, allocations: 39.38 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.4816, allocations: 56.39 kB / 0.5217 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.4819, allocations: 109.4 kB / 0.5218 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.4821, allocations: 96.27 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.4822, allocations: 15.28 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.4823, allocations: 42.48 kB / 0.522 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.4825, allocations: 43.92 kB / 0.522 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.4825, allocations: 4.5 kB / 0.522 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.4827, allocations: 58.81 kB / 0.5221 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.4827, allocations: 19.19 kB / 0.5221 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.4828, allocations: 29.77 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.483, allocations: 119.2 kB / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4831, allocations: 1.953 kB / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4831, allocations: 0 / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4831, allocations: 0 / 0.5222 GB, free: 0.7656 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.0005197/0.4836, allocations: 416.5 kB / 0.5226 GB, free: 364 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4836, allocations: 9.406 kB / 0.5226 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.4837, allocations: 33.7 kB / 0.5227 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.4837, allocations: 7.781 kB / 0.5227 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.4839, allocations: 206.3 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.484, allocations: 1.812 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.484, allocations: 6.094 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4842, allocations: 86.66 kB / 0.523 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4842, allocations: 1.5 kB / 0.523 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4842, allocations: 0 / 0.523 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4842, allocations: 1.469 kB / 0.523 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.083e-05/0.4843, allocations: 19.33 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.4847, allocations: 282.8 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4849, allocations: 60.05 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.485, allocations: 20.59 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.485, allocations: 1.828 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.4852, allocations: 65.42 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4852, allocations: 0 / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005758/0.4858, allocations: 175.1 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.4858, allocations: 80 kB / 0.5236 GB, free: 15.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.486, allocations: 151.1 kB / 0.5238 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4861, allocations: 30.89 kB / 0.5238 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.4861, allocations: 93.3 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.4862, allocations: 26.12 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.4862, allocations: 23.33 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4864, allocations: 321 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.4865, allocations: 24.55 kB / 0.5243 GB, free: 14.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.4866, allocations: 49.36 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.4867, allocations: 61.38 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4867, allocations: 1.094 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000211/0.4869, allocations: 96.48 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.487, allocations: 6.125 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.487, allocations: 5.219 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.487, allocations: 0 / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4871, allocations: 16.53 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4871, allocations: 0 / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.4872, allocations: 7.797 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.4872, allocations: 11.03 kB / 0.5245 GB, free: 14.68 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.0001181/0.4873, allocations: 121.7 kB / 0.5246 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.4873, allocations: 9.281 kB / 0.5246 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.4874, allocations: 21.83 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4874, allocations: 1.062 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4874, allocations: 2.594 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4874, allocations: 7.875 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.4879, allocations: 391.9 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.488, allocations: 2.703 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.488, allocations: 7.266 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.488, allocations: 5.75 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.488, allocations: 3.516 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.488, allocations: 4.641 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.488, allocations: 0 / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.4883, allocations: 200.9 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.4884, allocations: 83.14 kB / 0.5253 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.4884, allocations: 6.609 kB / 0.5254 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.4885, allocations: 7.969 kB / 0.5254 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.4885, allocations: 11.84 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4885, allocations: 4.875 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.4887, allocations: 113.6 kB / 0.5255 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4887, allocations: 1.188 kB / 0.5255 GB, free: 13.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.489, allocations: 34.55 kB / 0.5255 GB, free: 13.8 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.001697/0.4907, allocations: 1.137 MB / 0.5266 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.4909, allocations: 52 kB / 0.5267 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4909, allocations: 1.188 kB / 0.5267 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.491, allocations: 31.81 kB / 0.5267 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.4913, allocations: 38.36 kB / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.4932, allocations: 1.552 MB / 0.5283 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4937, allocations: 0.6953 MB / 0.5289 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.308e-05/0.4937, allocations: 19.09 kB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.4938, allocations: 33.52 kB / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4938, allocations: 1.312 kB / 0.529 GB, free: 10.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.517, allocations: 3.59 MB / 0.5325 GB, free: 9.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/8.012, allocations: 5.578 kB / 0.5325 GB, free: 9.199 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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