Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001085/0.001085, allocations: 110.4 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.001135/0.001136, allocations: 187.1 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.264/1.264, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2022/0.2022, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.84 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3765, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002991/0.3795, allocations: 1.791 MB / 0.5202 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3819, allocations: 1.558 MB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.382, allocations: 1.125 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.3824, allocations: 53.22 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.3827, allocations: 90.25 kB / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.3832, allocations: 179 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.3834, allocations: 184.9 kB / 0.5222 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.3835, allocations: 8.578 kB / 0.5222 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.3836, allocations: 82.31 kB / 0.5223 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.3839, allocations: 69.33 kB / 0.5224 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3839, allocations: 7.656 kB / 0.5224 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.3841, allocations: 61.53 kB / 0.5225 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.3841, allocations: 33.59 kB / 0.5225 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.3842, allocations: 61.58 kB / 0.5225 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.3845, allocations: 171.3 kB / 0.5227 GB, free: 476 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3845, allocations: 0 / 0.5227 GB, free: 476 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3846, allocations: 1.375 kB / 0.5227 GB, free: 476 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3846, allocations: 0 / 0.5227 GB, free: 476 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005967/0.3852, allocations: 472.9 kB / 0.5232 GB, free: 24 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3852, allocations: 8.812 kB / 0.5232 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.3853, allocations: 38.25 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.3854, allocations: 16.38 kB / 0.5232 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.3858, allocations: 252.4 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3858, allocations: 5.812 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3858, allocations: 8.438 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.386, allocations: 101.4 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3861, allocations: 1 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3861, allocations: 1.672 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3861, allocations: 5.219 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3862, allocations: 29.27 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.3865, allocations: 209.1 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.3867, allocations: 113.5 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.3868, allocations: 41.89 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.3869, allocations: 3.984 kB / 0.524 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.3871, allocations: 108.7 kB / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.3871, allocations: 4 kB / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004521/0.3876, allocations: 163.8 kB / 0.5242 GB, free: 15.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.3877, allocations: 136.8 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3879, allocations: 209.2 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.388, allocations: 31.83 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.3881, allocations: 109.4 kB / 0.5247 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.3881, allocations: 27.55 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.3882, allocations: 33.52 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3883, allocations: 328.8 kB / 0.5251 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.322e-05/0.3884, allocations: 27.98 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3885, allocations: 72.12 kB / 0.5252 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.3887, allocations: 83.53 kB / 0.5252 GB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3887, allocations: 5.125 kB / 0.5252 GB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002794/0.389, allocations: 145.8 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3891, allocations: 7.094 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3891, allocations: 0.7031 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3891, allocations: 1.812 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3892, allocations: 20.56 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3892, allocations: 5.969 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.3893, allocations: 15.28 kB / 0.5254 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3893, allocations: 8.656 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001273/0.3895, allocations: 134 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.3895, allocations: 16.25 kB / 0.5256 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.3896, allocations: 17.95 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3896, allocations: 1.469 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3896, allocations: 2.344 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3896, allocations: 4.703 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3898, allocations: 222.5 kB / 0.5258 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3898, allocations: 0 / 0.5258 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.3899, allocations: 8.328 kB / 0.5258 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3899, allocations: 6.391 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3899, allocations: 2.297 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3899, allocations: 1.188 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3899, allocations: 0 / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.3902, allocations: 177 kB / 0.526 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.3903, allocations: 89.69 kB / 0.5261 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3903, allocations: 2.594 kB / 0.5261 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.3904, allocations: 9.594 kB / 0.5261 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3905, allocations: 10.25 kB / 0.5261 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.3905, allocations: 6.688 kB / 0.5261 GB, free: 13.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3906, allocations: 157 kB / 0.5263 GB, free: 13.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3907, allocations: 0 / 0.5263 GB, free: 13.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3909, allocations: 44.94 kB / 0.5263 GB, free: 13.41 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001502/0.3925, allocations: 1.044 MB / 0.5273 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.3927, allocations: 86.59 kB / 0.5274 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3927, allocations: 0 / 0.5274 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3928, allocations: 43.89 kB / 0.5275 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3932, allocations: 53.39 kB / 0.5275 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.3954, allocations: 1.827 MB / 0.5293 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3958, allocations: 0.7212 MB / 0.53 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.3959, allocations: 28.66 kB / 0.53 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.396, allocations: 49.56 kB / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.396, allocations: 4 kB / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.4225, allocations: 4.783 MB / 0.5347 GB, free: 8.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.002, allocations: 8.75 kB / 0.5347 GB, free: 7.996 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new_2.y[1] Variables in the result: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],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time