Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.001708/0.001708, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.002073/0.002074, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.47/1.47, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2423/0.2423, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4629, allocations: 60.83 MB / 0.5185 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00365/0.4666, allocations: 1.694 MB / 0.5202 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.4679, allocations: 0.8832 MB / 0.521 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.468, allocations: 1.062 kB / 0.521 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.4683, allocations: 37.48 kB / 0.5211 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.4686, allocations: 55.69 kB / 0.5211 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.4689, allocations: 114.5 kB / 0.5212 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.4691, allocations: 99.12 kB / 0.5213 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4693, allocations: 8.016 kB / 0.5213 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.4694, allocations: 42.22 kB / 0.5214 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.4695, allocations: 29.39 kB / 0.5214 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.4695, allocations: 3.625 kB / 0.5214 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.4697, allocations: 43.14 kB / 0.5214 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.4697, allocations: 18.94 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.4698, allocations: 37.83 kB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.47, allocations: 123.3 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4701, allocations: 1.188 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4701, allocations: 0 / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.4701, allocations: 0 / 0.5216 GB, free: 1.09 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.0005873/0.4707, allocations: 416.8 kB / 0.522 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4707, allocations: 9.578 kB / 0.522 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.4708, allocations: 33.12 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.4708, allocations: 13.38 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.4711, allocations: 207.9 kB / 0.5223 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4711, allocations: 6.656 kB / 0.5223 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.4712, allocations: 5.812 kB / 0.5223 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4713, allocations: 63.41 kB / 0.5223 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4714, allocations: 0 / 0.5223 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4714, allocations: 0 / 0.5223 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4714, allocations: 2.797 kB / 0.5223 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.4715, allocations: 16.38 kB / 0.5224 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.4719, allocations: 291.8 kB / 0.5226 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.4721, allocations: 59.86 kB / 0.5227 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.4721, allocations: 20.78 kB / 0.5227 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4722, allocations: 0.9688 kB / 0.5227 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.4724, allocations: 74 kB / 0.5228 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4724, allocations: 0 / 0.5228 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006469/0.4731, allocations: 173.1 kB / 0.523 GB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.4731, allocations: 57.23 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.4734, allocations: 204 kB / 0.5232 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.4735, allocations: 26.7 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.4736, allocations: 104.8 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.4736, allocations: 26.27 kB / 0.5234 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.4737, allocations: 26.44 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4738, allocations: 322 kB / 0.5237 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.4739, allocations: 21.81 kB / 0.5237 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.474, allocations: 38.8 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4742, allocations: 62.67 kB / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4742, allocations: 0 / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.4744, allocations: 105 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4744, allocations: 5.641 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4744, allocations: 1.312 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4745, allocations: 1.844 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4746, allocations: 14.77 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4746, allocations: 1.312 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.4746, allocations: 14.97 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4747, allocations: 3.5 kB / 0.5239 GB, free: 15.02 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.0001346/0.4748, allocations: 134.1 kB / 0.5241 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.4748, allocations: 13.7 kB / 0.5241 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.4749, allocations: 17.2 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4749, allocations: 1.156 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4749, allocations: 0 / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4749, allocations: 6.25 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.4755, allocations: 390.6 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.4755, allocations: 3.938 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.4755, allocations: 14.11 kB / 0.5245 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4755, allocations: 5.062 kB / 0.5245 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4755, allocations: 5.984 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4756, allocations: 1.094 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4756, allocations: 1.953 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.4758, allocations: 204.2 kB / 0.5247 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.4759, allocations: 92.5 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.4759, allocations: 7.453 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.476, allocations: 2.922 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.4761, allocations: 4.922 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.4761, allocations: 4.953 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.4763, allocations: 151 kB / 0.525 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4763, allocations: 0 / 0.525 GB, free: 14.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.4765, allocations: 26 kB / 0.525 GB, free: 14.12 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.001685/0.4782, allocations: 1.105 MB / 0.5261 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.4785, allocations: 52.67 kB / 0.5261 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4785, allocations: 0 / 0.5261 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.4786, allocations: 36.27 kB / 0.5261 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.479, allocations: 26.06 kB / 0.5262 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4809, allocations: 1.67 MB / 0.5278 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.4813, allocations: 0.7021 MB / 0.5285 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.4814, allocations: 17.33 kB / 0.5285 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.4815, allocations: 39.75 kB / 0.5285 GB, free: 11.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4815, allocations: 4 kB / 0.5285 GB, free: 11.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.5038, allocations: 3.471 MB / 0.5319 GB, free: 9.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/8.089, allocations: 6.094 kB / 0.5319 GB, free: 9.672 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time