Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001186/0.001186, allocations: 110.4 kB / 17.77 MB, free: 5.266 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.001221/0.001221, allocations: 187.9 kB / 18.71 MB, free: 4.34 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.284/1.284, 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.1957/0.1957, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 63.91 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3667, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004581/0.3713, allocations: 1.706 MB / 0.5202 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.3731, allocations: 0.8746 MB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.3733, allocations: 0.9375 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.3737, allocations: 39.84 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.374, allocations: 54.52 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.3745, allocations: 114 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3747, allocations: 95.84 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3748, allocations: 7.031 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3749, allocations: 45.73 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.375, allocations: 26.05 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.3751, allocations: 8.375 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3752, allocations: 42.56 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.3753, allocations: 22.25 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.3753, allocations: 32.67 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.3756, allocations: 114.2 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3756, allocations: 0 / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.359e-06/0.3757, allocations: 2.312 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3757, allocations: 0 / 0.5216 GB, free: 1.234 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.0005871/0.3763, allocations: 405.5 kB / 0.522 GB, free: 0.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3763, allocations: 13.97 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.3764, allocations: 37.77 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.3764, allocations: 9.5 kB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.3767, allocations: 214.6 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3767, allocations: 1.469 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.3768, allocations: 6.844 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3769, allocations: 62.25 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.377, allocations: 3.938 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.377, allocations: 0.6094 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.377, allocations: 1.25 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.3771, allocations: 26.52 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.3774, allocations: 281.6 kB / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3776, allocations: 56.95 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.3777, allocations: 19.45 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3777, allocations: 10.17 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.3779, allocations: 66.16 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.3779, allocations: 0 / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005791/0.3785, allocations: 175.7 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.3786, allocations: 56.98 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.3788, allocations: 190.6 kB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.3789, allocations: 26.67 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.3789, allocations: 105 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.379, allocations: 24.95 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.379, allocations: 22.31 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3792, allocations: 326.9 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.3792, allocations: 16.36 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.3793, allocations: 42.91 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3795, allocations: 62.47 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3795, allocations: 0 / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.3797, allocations: 101.7 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3797, allocations: 5.75 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3797, allocations: 0.7969 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3797, allocations: 1.469 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.3798, allocations: 19.16 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3799, allocations: 1.406 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.3799, allocations: 10.77 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3799, allocations: 3.281 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.0001328/0.3801, allocations: 132.7 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.3801, allocations: 8.938 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.3802, allocations: 16.73 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3802, allocations: 0 / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3802, allocations: 5.281 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3802, allocations: 5.062 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.3807, allocations: 397.1 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3807, allocations: 4.906 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.3808, allocations: 8.688 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3808, allocations: 5.562 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3808, allocations: 1.625 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3808, allocations: 2 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.3808, allocations: 1.031 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3811, allocations: 213.1 kB / 0.5247 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.3812, allocations: 84.55 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.3812, allocations: 5.859 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.3813, allocations: 3.125 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.3813, allocations: 5.344 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3813, allocations: 8.125 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.3815, allocations: 143.9 kB / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 1.125 kB / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.3818, allocations: 29.52 kB / 0.5249 GB, free: 14.28 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.001535/0.3833, allocations: 1.091 MB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.3835, allocations: 56.12 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3835, allocations: 0 / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.3836, allocations: 29.2 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.384, allocations: 29.95 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.001975/0.386, allocations: 1.632 MB / 0.5277 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3863, allocations: 0.7056 MB / 0.5284 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.3864, allocations: 20 kB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.3865, allocations: 31.22 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3865, allocations: 1.156 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.4087, allocations: 3.42 MB / 0.5318 GB, free: 9.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.868, allocations: 11.8 kB / 0.5318 GB, free: 9.84 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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