Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001185/0.001186, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001248/0.001248, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.357/1.357, 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.2029/0.2029, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3565, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002687/0.3592, allocations: 1.708 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3604, allocations: 0.8715 MB / 0.521 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.3605, allocations: 4.844 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3608, allocations: 34.36 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.3611, allocations: 58.53 kB / 0.5211 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.3614, allocations: 105.4 kB / 0.5212 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3615, allocations: 96.12 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3617, allocations: 15.56 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.3617, allocations: 44.86 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.3618, allocations: 30.64 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3619, allocations: 3.406 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.362, allocations: 46.77 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.362, allocations: 21.31 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.3621, allocations: 30.08 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.3623, allocations: 107.4 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3623, allocations: 3.938 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3623, allocations: 1.156 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3623, allocations: 0 / 0.5216 GB, free: 1.219 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.0004771/0.3628, allocations: 409 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3629, allocations: 9.781 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.004e-05/0.3629, allocations: 37.27 kB / 0.522 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3629, allocations: 9.5 kB / 0.522 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3632, allocations: 205.3 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3632, allocations: 7.094 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3632, allocations: 6.219 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3634, allocations: 58.58 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3634, allocations: 4 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3634, allocations: 0.9688 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3634, allocations: 0.9688 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.464e-05/0.3635, allocations: 22.52 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.3638, allocations: 281.2 kB / 0.5226 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.364, allocations: 59.58 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.3641, allocations: 24.94 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3641, allocations: 0.6562 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.3643, allocations: 62.62 kB / 0.5227 GB, free: 100 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3643, allocations: 0 / 0.5227 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005471/0.3648, allocations: 174.9 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.3649, allocations: 61.56 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.3651, allocations: 175.5 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3651, allocations: 26.7 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.3652, allocations: 99.8 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.3652, allocations: 28.84 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.3653, allocations: 26.05 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3654, allocations: 326.2 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.907e-05/0.3655, allocations: 17.72 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.3656, allocations: 46.75 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.3657, allocations: 57.44 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3657, allocations: 0 / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001844/0.3659, allocations: 101.4 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3659, allocations: 5.781 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3659, allocations: 0 / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3659, allocations: 1.609 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.366, allocations: 24.53 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3661, allocations: 1.062 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.3661, allocations: 6.812 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3661, allocations: 2.984 kB / 0.5239 GB, free: 15.18 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.0001072/0.3662, allocations: 125.6 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3663, allocations: 11.31 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.3663, allocations: 15.36 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3663, allocations: 2.156 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3663, allocations: 4 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.3663, allocations: 4.594 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.3668, allocations: 388.5 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3668, allocations: 384 / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.3669, allocations: 9.172 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.3669, allocations: 5.516 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3669, allocations: 13.77 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3669, allocations: 1.812 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3669, allocations: 1.531 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3671, allocations: 203.5 kB / 0.5246 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.3672, allocations: 85.3 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3672, allocations: 10.22 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.3673, allocations: 3.562 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3673, allocations: 4.953 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3674, allocations: 7.562 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.3675, allocations: 139 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3675, allocations: 1 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3678, allocations: 22.34 kB / 0.5249 GB, free: 14.29 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.001414/0.3692, allocations: 1.094 MB / 0.526 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3694, allocations: 56.55 kB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3694, allocations: 0 / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.3695, allocations: 32.12 kB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3698, allocations: 34.8 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.3715, allocations: 1.608 MB / 0.5276 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3718, allocations: 0.7066 MB / 0.5283 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.3718, allocations: 13.38 kB / 0.5283 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.3719, allocations: 30.11 kB / 0.5284 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3719, allocations: 0 / 0.5284 GB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3939, allocations: 3.351 MB / 0.5316 GB, free: 9.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.866, allocations: 12.41 kB / 0.5317 GB, free: 9.926 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time