Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.001531/0.001532, allocations: 110.4 kB / 17.78 MB, free: 5.293 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.001753/0.001754, allocations: 187.1 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2013/0.2013, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.91 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 60.83 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002855/0.3923, allocations: 1.707 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3937, allocations: 0.8698 MB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.3938, allocations: 1.156 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.3941, allocations: 38.42 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3943, allocations: 57.7 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.3946, allocations: 104.9 kB / 0.5212 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3948, allocations: 96.8 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.3949, allocations: 7.844 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.395, allocations: 44.83 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.21e-05/0.3951, allocations: 26.7 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3951, allocations: 4.25 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3952, allocations: 46.86 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.3953, allocations: 20.95 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.3953, allocations: 33.27 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.3956, allocations: 108 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3956, allocations: 0 / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3956, allocations: 1.156 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3956, allocations: 0 / 0.5216 GB, free: 1.242 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.0005119/0.3961, allocations: 408.6 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3962, allocations: 9.984 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.3962, allocations: 40.98 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.3963, allocations: 9.531 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.3966, allocations: 202.2 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3966, allocations: 5.406 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.3966, allocations: 7.578 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.3968, allocations: 57.48 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3969, allocations: 0 / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3969, allocations: 1.922 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3969, allocations: 0.7188 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.397, allocations: 26.11 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.3975, allocations: 285.3 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3978, allocations: 59.75 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.3979, allocations: 20.3 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3979, allocations: 1.25 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.3981, allocations: 69.17 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.3981, allocations: 1.156 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007415/0.3989, allocations: 180.3 kB / 0.5229 GB, free: 20 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.399, allocations: 56.69 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.3992, allocations: 175.5 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3993, allocations: 25.7 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.3994, allocations: 104.5 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.3994, allocations: 28.72 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.3995, allocations: 22.36 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3997, allocations: 321.1 kB / 0.5236 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.3998, allocations: 25.28 kB / 0.5236 GB, free: 15.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.3999, allocations: 36.42 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4001, allocations: 70.69 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4001, allocations: 0 / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002452/0.4004, allocations: 99.67 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4004, allocations: 6.344 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.4004, allocations: 0.7969 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4004, allocations: 1.406 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4006, allocations: 15.47 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4006, allocations: 1.281 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.4007, allocations: 10.25 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.4007, allocations: 11.08 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.0001601/0.4009, allocations: 121 kB / 0.524 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4009, allocations: 7.875 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.403e-05/0.401, allocations: 16.36 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.401, allocations: 1.094 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.401, allocations: 0 / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.401, allocations: 4.875 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.4018, allocations: 393.3 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4018, allocations: 3.938 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.4018, allocations: 8.531 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.4019, allocations: 5.094 kB / 0.5244 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.4019, allocations: 3.422 kB / 0.5244 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4019, allocations: 1.156 kB / 0.5244 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4019, allocations: 0 / 0.5244 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.4023, allocations: 208.3 kB / 0.5246 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.4024, allocations: 84.81 kB / 0.5247 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.4024, allocations: 7.625 kB / 0.5247 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.4025, allocations: 6.703 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.4026, allocations: 5.031 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.4027, allocations: 9.312 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.4029, allocations: 134.4 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4029, allocations: 0 / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.4032, allocations: 22.34 kB / 0.5249 GB, free: 14.32 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.002171/0.4054, allocations: 1.104 MB / 0.526 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4057, allocations: 61.16 kB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4057, allocations: 0 / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.4058, allocations: 23.66 kB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.4063, allocations: 34.17 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.4083, allocations: 1.608 MB / 0.5276 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4086, allocations: 0.7 MB / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.3e-05/0.4087, allocations: 15.55 kB / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.4088, allocations: 35.25 kB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4088, allocations: 0 / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.43, allocations: 3.358 MB / 0.5317 GB, free: 9.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.365, allocations: 7.062 kB / 0.5317 GB, free: 9.93 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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