Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.001197/0.001197, allocations: 109.5 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.001263/0.001263, allocations: 188 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.1954/0.1954, allocations: 44.18 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 63.91 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3754, allocations: 60.83 MB / 0.5185 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002962/0.3784, allocations: 1.714 MB / 0.5202 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3797, allocations: 0.8857 MB / 0.521 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.3798, allocations: 5.031 kB / 0.521 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.3801, allocations: 37.06 kB / 0.5211 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3803, allocations: 52.22 kB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3806, allocations: 123 kB / 0.5212 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3808, allocations: 97.44 kB / 0.5213 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3809, allocations: 8.266 kB / 0.5214 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.381, allocations: 47 kB / 0.5214 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.3811, allocations: 34.12 kB / 0.5214 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3811, allocations: 4.688 kB / 0.5214 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.3813, allocations: 68.52 kB / 0.5215 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.3813, allocations: 15.89 kB / 0.5215 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.3814, allocations: 34.05 kB / 0.5215 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3816, allocations: 127.5 kB / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3817, allocations: 0 / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3817, allocations: 0 / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3817, allocations: 1.859 kB / 0.5217 GB, free: 1.055 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.0005091/0.3822, allocations: 417 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3822, allocations: 10.36 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.3823, allocations: 36.94 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.3823, allocations: 9.094 kB / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.3825, allocations: 213.2 kB / 0.5223 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3826, allocations: 5.719 kB / 0.5223 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3826, allocations: 11.77 kB / 0.5223 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3827, allocations: 66.97 kB / 0.5224 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3828, allocations: 0 / 0.5224 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3828, allocations: 1.375 kB / 0.5224 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3828, allocations: 0.7031 kB / 0.5224 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.3829, allocations: 22.38 kB / 0.5224 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.3831, allocations: 278.8 kB / 0.5227 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.3834, allocations: 67.62 kB / 0.5228 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.3834, allocations: 25.8 kB / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3835, allocations: 0.5625 kB / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.3836, allocations: 81.55 kB / 0.5229 GB, free: 15.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3836, allocations: 0 / 0.5229 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006097/0.3843, allocations: 197.5 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3843, allocations: 84.39 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3845, allocations: 158.5 kB / 0.5233 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3845, allocations: 31.81 kB / 0.5233 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.3846, allocations: 96.41 kB / 0.5234 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3846, allocations: 30.95 kB / 0.5234 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.3847, allocations: 29.14 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3848, allocations: 321.7 kB / 0.5238 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.3849, allocations: 28.02 kB / 0.5238 GB, free: 15.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.385, allocations: 56.33 kB / 0.5238 GB, free: 15.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3851, allocations: 80.88 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3852, allocations: 0 / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002315/0.3854, allocations: 120.8 kB / 0.524 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3854, allocations: 4.531 kB / 0.524 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3854, allocations: 1.062 kB / 0.524 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3854, allocations: 5.797 kB / 0.5241 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3856, allocations: 20.53 kB / 0.5241 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3856, allocations: 1.031 kB / 0.5241 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.3856, allocations: 7.609 kB / 0.5241 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3856, allocations: 7.5 kB / 0.5241 GB, free: 14.92 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 (13): * Single equations (assignments): 13 * 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.444e-05/0.3857, allocations: 126.6 kB / 0.5242 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3858, allocations: 12.92 kB / 0.5242 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.3858, allocations: 18.5 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3858, allocations: 5.406 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3858, allocations: 0.7969 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3858, allocations: 0 / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.3863, allocations: 423.6 kB / 0.5246 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3863, allocations: 0.875 kB / 0.5246 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.3864, allocations: 15.44 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3864, allocations: 0.75 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3864, allocations: 7.875 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3864, allocations: 4.5 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3864, allocations: 1.938 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.3867, allocations: 220.3 kB / 0.5249 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3867, allocations: 84.44 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.3868, allocations: 7.156 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.3868, allocations: 7.562 kB / 0.525 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3869, allocations: 6.438 kB / 0.525 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.3869, allocations: 12.53 kB / 0.525 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.184e-05/0.387, allocations: 120.3 kB / 0.5251 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.387, allocations: 0 / 0.5251 GB, free: 14.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.3873, allocations: 41.66 kB / 0.5252 GB, free: 14 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 (10): * Single equations (assignments): 8 * 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.001458/0.3888, allocations: 1.153 MB / 0.5263 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.389, allocations: 81.25 kB / 0.5264 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.389, allocations: 0 / 0.5264 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.3891, allocations: 37.62 kB / 0.5264 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3894, allocations: 22.69 kB / 0.5264 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.3911, allocations: 1.629 MB / 0.528 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.3913, allocations: 0.7097 MB / 0.5287 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.086e-05/0.3914, allocations: 22.3 kB / 0.5287 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.3915, allocations: 37.77 kB / 0.5288 GB, free: 11.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3915, allocations: 0 / 0.5288 GB, free: 11.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.4117, allocations: 3.823 MB / 0.5325 GB, free: 9.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.175, allocations: 8.75 kB / 0.5325 GB, free: 9.258 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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),der(t_new.y[1]),dummy,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],time