Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.00121/0.00121, allocations: 110.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.001312/0.001312, allocations: 187.9 kB / 18.71 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.324/1.324, 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.2019/0.2019, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 75.88 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3598, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002492/0.3624, allocations: 1.693 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3635, allocations: 0.8709 MB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.3636, allocations: 1.375 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.3639, allocations: 38.98 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3641, allocations: 59.95 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3644, allocations: 113 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.3645, allocations: 100.3 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.3646, allocations: 11.52 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.3647, allocations: 41.09 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.3648, allocations: 26.88 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3648, allocations: 3.469 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.791e-05/0.3649, allocations: 50.69 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.3649, allocations: 22.75 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.365, allocations: 36.77 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.3652, allocations: 109.8 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3652, allocations: 0 / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3652, allocations: 0 / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.3652, allocations: 5 kB / 0.5216 GB, free: 1.199 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.0004286/0.3657, allocations: 407.4 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3657, allocations: 9 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.678e-05/0.3657, allocations: 36.98 kB / 0.522 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.3658, allocations: 13.19 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.366, allocations: 211 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.366, allocations: 5.562 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.366, allocations: 6.953 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3661, allocations: 61.56 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3662, allocations: 1.031 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3662, allocations: 0.5625 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.3662, allocations: 1.062 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.3663, allocations: 22.42 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.3665, allocations: 286.2 kB / 0.5226 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3667, allocations: 56.3 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.3668, allocations: 20.3 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3668, allocations: 1.469 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.3669, allocations: 74.17 kB / 0.5228 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3669, allocations: 0 / 0.5228 GB, free: 68 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004941/0.3674, allocations: 175.3 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3675, allocations: 57.52 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3676, allocations: 190.6 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3677, allocations: 26.77 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.3677, allocations: 104.8 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3678, allocations: 25.2 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3678, allocations: 26.19 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3679, allocations: 321.6 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.368, allocations: 21.94 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-05/0.3681, allocations: 35.72 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3682, allocations: 65.52 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3682, allocations: 0 / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.3684, allocations: 101.6 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3684, allocations: 6.203 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3684, allocations: 0 / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3684, allocations: 1.125 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.3685, allocations: 19.66 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3685, allocations: 2.062 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.3686, allocations: 6.781 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3686, allocations: 6.188 kB / 0.5239 GB, free: 15.14 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.044e-05/0.3687, allocations: 132.6 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.3687, allocations: 9.688 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.3687, allocations: 15.31 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3688, allocations: 1.219 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3688, allocations: 384 / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3688, allocations: 9.625 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.3692, allocations: 393.5 kB / 0.5244 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.3692, allocations: 4.938 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.3693, allocations: 8.25 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3693, allocations: 6.328 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.3693, allocations: 6.359 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3693, allocations: 0 / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3693, allocations: 2.344 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3695, allocations: 212.8 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.3696, allocations: 83.81 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3696, allocations: 6.797 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.3697, allocations: 7.938 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.3697, allocations: 5.453 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3697, allocations: 3.531 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.3698, allocations: 144.9 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3699, allocations: 0 / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3701, allocations: 24.55 kB / 0.5249 GB, free: 14.25 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.001333/0.3714, allocations: 1.092 MB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.3716, allocations: 64.31 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3716, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.3717, allocations: 32.33 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.372, allocations: 23.28 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.3738, allocations: 1.642 MB / 0.5277 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.374, allocations: 0.7024 MB / 0.5284 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.3741, allocations: 12.81 kB / 0.5284 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.144e-05/0.3742, allocations: 38.47 kB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3742, allocations: 0 / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.3965, allocations: 3.41 MB / 0.5318 GB, free: 9.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.814, allocations: 11.83 kB / 0.5318 GB, free: 9.824 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time