Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.001101/0.001101, allocations: 106.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.001023/0.001023, allocations: 187.9 kB / 18.7 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2142/0.2142, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3677, allocations: 60.81 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002675/0.3704, allocations: 1.712 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3722, allocations: 1.481 MB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.3723, allocations: 1.219 kB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3726, allocations: 43.3 kB / 0.5217 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.3728, allocations: 60.73 kB / 0.5217 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.3731, allocations: 101.2 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3733, allocations: 104.3 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3734, allocations: 7.156 kB / 0.5219 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.3735, allocations: 46.27 kB / 0.522 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3736, allocations: 39.39 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3736, allocations: 4.594 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3738, allocations: 58.7 kB / 0.5221 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.3738, allocations: 20.17 kB / 0.5221 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.3739, allocations: 29.7 kB / 0.5221 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3741, allocations: 123.4 kB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3741, allocations: 3.938 kB / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3741, allocations: 1.469 kB / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3741, 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.0004393/0.3746, allocations: 404.6 kB / 0.5226 GB, free: 372 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3746, allocations: 11.5 kB / 0.5226 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.3747, allocations: 31.45 kB / 0.5227 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3747, allocations: 9.469 kB / 0.5227 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3749, allocations: 211.6 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.375, allocations: 5.781 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.375, allocations: 11.39 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3751, allocations: 70.92 kB / 0.523 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3752, allocations: 4 kB / 0.523 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3752, allocations: 1.438 kB / 0.523 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3752, allocations: 0.6562 kB / 0.523 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.3753, allocations: 17.91 kB / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.3757, allocations: 283.8 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3758, allocations: 56.62 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.3759, allocations: 21.08 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3759, allocations: 1.531 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.3761, allocations: 68.77 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3761, allocations: 0 / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005343/0.3766, allocations: 175.9 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.3767, allocations: 78.88 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3769, allocations: 151.4 kB / 0.5238 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3769, allocations: 31.52 kB / 0.5238 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.377, allocations: 93.94 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.377, allocations: 29.47 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.3771, allocations: 26.45 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3772, allocations: 320.2 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.3773, allocations: 22.8 kB / 0.5243 GB, free: 14.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.3773, allocations: 48.98 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.3775, allocations: 53.92 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3775, allocations: 4.031 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.3777, allocations: 100.4 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3777, allocations: 5.469 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3777, allocations: 1.703 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3777, allocations: 1.094 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.3778, allocations: 14.7 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3778, allocations: 1.844 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.3779, allocations: 6.719 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3779, allocations: 11.45 kB / 0.5245 GB, free: 14.69 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 9.84e-05/0.378, allocations: 128.9 kB / 0.5246 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.378, allocations: 9.297 kB / 0.5246 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.3781, allocations: 17.3 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3781, allocations: 1.344 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3781, allocations: 3.938 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3781, allocations: 5.766 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3786, allocations: 388.7 kB / 0.525 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3786, allocations: 4.031 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.3786, allocations: 10.11 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3786, allocations: 3.938 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3787, allocations: 2.922 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3787, allocations: 2.25 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3787, allocations: 0 / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.3789, allocations: 203.7 kB / 0.5253 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.3789, allocations: 85.05 kB / 0.5253 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.379, allocations: 6.703 kB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.3791, allocations: 7.734 kB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3791, allocations: 5.203 kB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.3791, allocations: 8.438 kB / 0.5254 GB, free: 13.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.405e-05/0.3792, allocations: 118.9 kB / 0.5255 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3792, allocations: 0 / 0.5255 GB, free: 13.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.3795, allocations: 35.12 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.001484/0.381, allocations: 1.135 MB / 0.5266 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.3812, allocations: 53.64 kB / 0.5267 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3812, allocations: 0 / 0.5267 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.3813, allocations: 41.05 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.0003347/0.3816, allocations: 35.88 kB / 0.5268 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3834, allocations: 1.542 MB / 0.5283 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3838, allocations: 0.6989 MB / 0.5289 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.891e-05/0.3839, allocations: 15.42 kB / 0.529 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.3839, allocations: 33.59 kB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.384, allocations: 0 / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.4067, allocations: 3.598 MB / 0.5325 GB, free: 9.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.897, allocations: 6.234 kB / 0.5325 GB, free: 9.199 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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